diff options
author | Yang Tse <yangsita@gmail.com> | 2008-09-26 18:56:56 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-09-26 18:56:56 +0000 |
commit | a632f6d5b10eb464b945198b950f531ffde4fe51 (patch) | |
tree | efed2678a294b9fd038dc5eb4ec806071b0ceb66 /tests | |
parent | 83c199bb00747780f1c9a737053cd127ca61dcaf (diff) |
if a test execution is aborted due to a signal, and the process
returns no other exitcode, use 2000 + signal number as return code
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/runtests.pl | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |