Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Stop using the logs when they are not ready anymore
[simgrid.git] / tools / tesh / catch-timeout.tesh
index a5000a0..40aa37a 100644 (file)
@@ -6,8 +6,9 @@
 ! expect return 3
 < ! set timeout 1
 < $ sleep 6
-> [0.000000] [tesh/INFO] Test suite from stdin
-> [0.000000] [tesh/INFO] [stdin:2] sleep 6
-> [0.000000] [tesh/INFO] Child 'sleep 6' timeouted. Kill it
-> [0.000000] run_context.c:335: [tesh/ERROR] Child timeouted (waited 1 sec)
-$ ./tesh
+> 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'