X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4f6a20c70493120df0f813a6832d69d35c6f5a7c..1d18e615eaa617d3354bc22dfbe711d34be9f902:/tools/tesh/catch-timeout.tesh diff --git a/tools/tesh/catch-timeout.tesh b/tools/tesh/catch-timeout.tesh index d4c6f14d92..d9daf92e95 100644 --- a/tools/tesh/catch-timeout.tesh +++ b/tools/tesh/catch-timeout.tesh @@ -6,9 +6,10 @@ ! expect return 3 < ! timeout 1 < $ sleep 6 +> Enable coverage > Test suite from stdin -> [stdin:2] sleep 6 -> timeouted. Kill the process. -> No output before timeout -> Test suite `(stdin)': NOK ( timeout after 1 sec) -$ ./tesh --log='log.thresh:info tesh.fmt:%m%n' +> [(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 --log='log.thresh:info tesh.fmt:%m%n'