X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2fe88613fbaaeb0e648d1d2acbd3f7b53f6a5298..611d822b02f836d7abe031cced6adc4281ef4356:/tools/tesh/catch-timeout.tesh diff --git a/tools/tesh/catch-timeout.tesh b/tools/tesh/catch-timeout.tesh index ebab52a61d..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. @@ -8,7 +8,5 @@ < $ 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' +$ ${bindir:=.}/tesh