Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Convert to C++, and call get_pid() directly.
[simgrid.git] / tools / tesh / catch-timeout.tesh
index 00c5ff6..a246c16 100644 (file)
@@ -1,6 +1,6 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
-# This suite must be functional because we changed the timeout value to 10
+# This suite must be functional because we changed the timeout value to 1
 # before sleeping 6 secs.
 
 ! expect return 3
@@ -9,5 +9,4 @@
 > 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
+$ ${bindir:=.}/tesh