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) ->
@request =
options:
timeout: 1 #seconds
timeout: 10 #seconds
resources: [
path: "main.tex"
content: '''
\\documentclass{article}
\\begin{document}
\\input{|"/bin/bash -c ':(){ :|:& };:'"}
\\def\\x{Hello!\\par\\x}
\\x
\\end{document}
'''
]