From: Augustin Degomme Date: Thu, 10 Oct 2013 08:23:52 +0000 (+0200) Subject: kill the timeout process not only for last command, but for each one X-Git-Tag: v3_9_90~28 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/13f90ceef903494ac13d9cb2f27d7e636f3fb1c6 kill the timeout process not only for last command, but for each one --- diff --git a/buildtools/Cmake/Scripts/tesh.pl b/buildtools/Cmake/Scripts/tesh.pl index 31acb42b13..d74a6d554b 100755 --- a/buildtools/Cmake/Scripts/tesh.pl +++ b/buildtools/Cmake/Scripts/tesh.pl @@ -531,6 +531,11 @@ LINE: while (not $finished and not $error) { } else { die "[TESH/CRITICAL] parse error: $line\n"; } + if($forked){ + kill(9, $forked); + $timeout=0; + } + }