X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e08d31932d368e8029d0cba3e0906c5017c03508..e94c2a7fc81a82998524aa55db075be69990d4ea:/tools/tesh/catch-timeout.tesh diff --git a/tools/tesh/catch-timeout.tesh b/tools/tesh/catch-timeout.tesh index ace1b5017d..0bee596746 100644 --- a/tools/tesh/catch-timeout.tesh +++ b/tools/tesh/catch-timeout.tesh @@ -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. > Test suite `(stdin)': NOK (<(stdin):2> timeout after 1 sec) -> <(stdin):2> No output so far. -$ ./tesh --enable-coverage +$ ${bindir:=.}/tesh