]> AND Public Git Repository - simgrid.git/blobdiff - tools/tesh/catch-timeout.tesh
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use the full jar here.
[simgrid.git] / tools / tesh / catch-timeout.tesh
index 40aa37ae44b0bc112c2c6b69873633619ece99c6..d9daf92e95a8ae427c543e73a82a59245f20268b 100644 (file)
@@ -4,11 +4,12 @@
 # before sleeping 6 secs.
 
 ! expect return 3
-< ! set timeout 1
+< ! timeout 1
 < $ sleep 6
+> Enable coverage
 > Test suite from stdin
-> [stdin:2] sleep 6
-> <stdin:2> timeouted. Kill the process.
-> <stdin:2> No output before timeout
-> Test suite `(stdin)': NOK (<stdin:2> timeout after 1 sec)
-$ ./tesh --log='log.thresh:info tesh.fmt:%m%n'
+> [(stdin):2] sleep 6
+> <(stdin):2> timeouted. Kill the process.
+> <(stdin):2> No output before timeout
+> Test suite `(stdin)': NOK (<(stdin):2> timeout after 1 sec)
+$ ./tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n'