This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Test::Simple 0.81_02 has:
authorNicholas Clark <nick@ccl4.org>
Tue, 21 Oct 2008 06:49:53 +0000 (06:49 +0000)
committerNicholas Clark <nick@ccl4.org>
Tue, 21 Oct 2008 06:49:53 +0000 (06:49 +0000)
commitc76230386fc5e6fba9fdbeab473abbf4f4adcbe3
treeba0d67906a86ebf466c1a17a146dfaa91a681a73
parent730397904bb9cd265e7df8807d1f18c924e223e6
Test::Simple 0.81_02 has:
  Features Changed
     - Now preserves the tests' exit code if it exits abnormally,
       rather than setting it to 255.

$! is non-zero with PERLIO=stdio in some cases, so die would have set
the exit code to $! (typically 9). Now that would show through, so
ensure $! *is* zero to make sure that the exit code is 255.

p4raw-id: //depot/perl@34545
t/lib/Test/Simple/sample_tests/death.plx
t/lib/Test/Simple/sample_tests/death_with_handler.plx
t/lib/Test/Simple/sample_tests/last_minute_death.plx