mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
if a test execution is aborted due to a signal, and the process
returns no other exitcode, use 2000 + signal number as return code
This commit is contained in:
parent
83c199bb00
commit
a632f6d5b1
@ -2109,6 +2109,7 @@ sub singletest {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$cmdres >>= 8;
|
$cmdres >>= 8;
|
||||||
|
$cmdres = (2000 + $signal_num) if($signal_num && !$cmdres);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(!$dumped_core) {
|
if(!$dumped_core) {
|
||||||
|
Loading…
Reference in New Issue
Block a user