From: Rafael Garcia-Suarez Date: Tue, 19 Aug 2003 20:22:07 +0000 (+0000) Subject: t/TEST fails to fail when it can't find tests. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=93e325a7ee9ffb7570c36ae2c4e7da2dccb4726a;p=p5sagit%2Fp5-mst-13.2.git t/TEST fails to fail when it can't find tests. p4raw-id: //depot/perl@20786 --- diff --git a/t/TEST b/t/TEST index ef98c27..a3ed8f6 100755 --- a/t/TEST +++ b/t/TEST @@ -64,7 +64,7 @@ my $updir = File::Spec->updir; sub _find_tests { my($dir) = @_; - opendir DIR, $dir || die "Trouble opening $dir: $!"; + opendir DIR, $dir or die "Trouble opening $dir: $!"; foreach my $f (sort { $a cmp $b } readdir DIR) { next if $f eq $curdir or $f eq $updir;