Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cosmetics: rename host::on to host::turnOn
[simgrid.git] / tools / tesh / catch-timeout.tesh
index 40aa37a..00c5ff6 100644 (file)
@@ -4,11 +4,10 @@
 # before sleeping 6 secs.
 
 ! expect return 3
-< ! set timeout 1
+< ! timeout 1
 < $ sleep 6
 > 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
+> Test suite `(stdin)': NOK (<(stdin):2> timeout after 1 sec)
+> <(stdin):2> No output so far.
+$ perl ${bindir:=.}/tesh