X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/45fd73e922fcbd14b67a7327940bb2d63df60c02..3afe678dc3123e0c0d517501f6a4f5fcf1f5ea24:/tools/tesh/catch-timeout.tesh diff --git a/tools/tesh/catch-timeout.tesh b/tools/tesh/catch-timeout.tesh index 40aa37ae44..d9daf92e95 100644 --- a/tools/tesh/catch-timeout.tesh +++ b/tools/tesh/catch-timeout.tesh @@ -4,11 +4,12 @@ # before sleeping 6 secs. ! expect return 3 -< ! set timeout 1 +< ! 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'