change timeout test latex code

This commit is contained in:
Henry Oswald 2018-09-11 11:34:25 +01:00
parent 3fc3cd11f4
commit 3c12f60eeb

View file

@ -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}
''' '''
] ]