From: Yang Tse Date: Fri, 26 Sep 2008 18:56:56 +0000 (+0000) Subject: if a test execution is aborted due to a signal, and the process X-Git-Tag: curl-7_19_1~274 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a632f6d5b10eb464b945198b950f531ffde4fe51;p=curl if a test execution is aborted due to a signal, and the process returns no other exitcode, use 2000 + signal number as return code --- diff --git a/tests/runtests.pl b/tests/runtests.pl index 4cd390b5d..e426b4afd 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -2109,6 +2109,7 @@ sub singletest { } else { $cmdres >>= 8; + $cmdres = (2000 + $signal_num) if($signal_num && !$cmdres); } } if(!$dumped_core) {