Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git] / tools / tesh / catch-timeout.tesh
index a5000a00d792c2a94f0a394a4862a1cf42fd34af..00c5ff660d63bbf0f0e2a17acddb7cac3307d730 100644 (file)
@@ -4,10 +4,10 @@
 # before sleeping 6 secs.
 
 ! expect return 3
-< ! set timeout 1
+< ! 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
+> Test suite `(stdin)': NOK (<(stdin):2> timeout after 1 sec)
+> <(stdin):2> No output so far.
+$ perl ${bindir:=.}/tesh