Test::Harness doesn't have control over the signal handlers that the tested code might implement. When you install Class::Does::Everything via cpan or cpanplus, you can't just expect they've written it correctly.
What we could do is have the test programs invoked like this:
perl -MTest::Harness::SIGDIE t/some_test.tThen we'd just have to figure out the Test::Harness::SIGDIE magic. Actually, now that I stop to think about it, that might not work either. It still requires the signal handler to be written correctly.
Cheers,
Ovid
New address of my CGI Course.
In reply to Re^2: $SIG{__DIE__} overrides exit status?
by Ovid
in thread $SIG{__DIE__} overrides exit status?
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |