diff options
author | Michael G. Schwern <schwern@pobox.com> | 2007-09-18 11:25:14 -0700 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-09-19 07:56:56 +0000 |
commit | 343bc60da8bfbdfbbbc323d930a805acbc00c27d (patch) | |
tree | 5a2df5637d5ef9d82ef117a5e4a42f366736b93f /t | |
parent | 00ed247ad44f2548d0ea02a06b0a1bb418a1c315 (diff) | |
download | perl-343bc60da8bfbdfbbbc323d930a805acbc00c27d.tar.gz |
t/TEST doesn't check exit (was Re: Test::More bug?)
Message-ID: <46F07A7A.1060900@pobox.com>
p4raw-id: //depot/perl@31896
Diffstat (limited to 't')
-rwxr-xr-x | t/TEST | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -479,6 +479,12 @@ EOT $failure="FAILED--expected $max tests, saw $next"; } + if( !defined $failure # don't mask a test failure + and $? ) + { + $failure = "FAILED--non-zero wait status: $?"; + } + if (defined $failure) { print "${te}$failure\n"; $::bad_files++; |