mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
change timeout test latex code
This commit is contained in:
parent
3fc3cd11f4
commit
3c12f60eeb
1 changed files with 3 additions and 2 deletions
|
@ -8,13 +8,14 @@ describe "Timed out compile", ->
|
||||||
before (done) ->
|
before (done) ->
|
||||||
@request =
|
@request =
|
||||||
options:
|
options:
|
||||||
timeout: 1 #seconds
|
timeout: 10 #seconds
|
||||||
resources: [
|
resources: [
|
||||||
path: "main.tex"
|
path: "main.tex"
|
||||||
content: '''
|
content: '''
|
||||||
\\documentclass{article}
|
\\documentclass{article}
|
||||||
\\begin{document}
|
\\begin{document}
|
||||||
\\input{|"/bin/bash -c ':(){ :|:& };:'"}
|
\\def\\x{Hello!\\par\\x}
|
||||||
|
\\x
|
||||||
\\end{document}
|
\\end{document}
|
||||||
'''
|
'''
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue