Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix debug messages
[simgrid.git] / tools / tesh / catch-timeout.tesh
index 786d011a7172d7ffe540577ea25ca45e5429ce68..0bee596746f8d185086b91bf3306c760af83055f 100644 (file)
@@ -1,4 +1,4 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 # This suite must be functional because we changed the timeout value to 10
 # before sleeping 6 secs.
@@ -6,10 +6,7 @@
 ! expect return 3
 < ! 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 --enable-coverage
+$ ${bindir:=.}/tesh