openssl/test/testlib/OpenSSL
Richard Levitte 2ef157afb9 Make OpenSSL::Test::run() sensitive to signals
$? in perl gets the status value from wait(2), which is a word with
the exit code in the upper half and the number of a raised signal in
the lower half.  OpenSSL::Test::run() ignored the signal half up until
now.

With this change, we recalculate an exit code the same way the Unix
shells do, using this formula:

    ($? & 0x7f) ? ($? & 0x7f)|0x80 : ($? >> 8);

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Emilia Käsper <emilia@openssl.org>
2016-03-18 15:25:23 +01:00
..
Test unified build scheme: adjust test framework for out of source build tree 2016-02-09 11:43:20 +01:00
Test.pm Make OpenSSL::Test::run() sensitive to signals 2016-03-18 15:25:23 +01:00