This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
t/TEST fails to fail when it can't find tests.
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Tue, 19 Aug 2003 20:22:07 +0000 (20:22 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Tue, 19 Aug 2003 20:22:07 +0000 (20:22 +0000)
p4raw-id: //depot/perl@20786

t/TEST

diff --git a/t/TEST b/t/TEST
index ef98c27..a3ed8f6 100755 (executable)
--- a/t/TEST
+++ b/t/TEST
@@ -64,7 +64,7 @@ my $updir  = File::Spec->updir;
 
 sub _find_tests {
     my($dir) = @_;
 
 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;
 
     foreach my $f (sort { $a cmp $b } readdir DIR) {
         next if $f eq $curdir or $f eq $updir;