From db8ab41e9b86ed452fc0ed716a2fc9d034b1ed8a Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Fri, 4 Jan 2002 21:00:53 +0000 Subject: [PATCH] Under Mac OS X /dev/stdout is normally a symlink, but when running the test it seems to become a socket. So let's extend our censorship. p4raw-id: //depot/perl@14077 --- t/op/stat.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/t/op/stat.t b/t/op/stat.t index 2f18382..4857836 100755 --- a/t/op/stat.t +++ b/t/op/stat.t @@ -210,9 +210,9 @@ SKIP: { skip "opendir failed: $!", 3 if @DEV == 0; # /dev/stdout might be either character special or a named pipe, - # depending on which OS and how are you running the test, so let's - # censor that one away. - $DEV =~ s{^[cp].+?\sstdout$}{}m; + # or a symlink, or a socket, depending on which OS and how are + # you running the test, so let's censor that one away. + $DEV =~ s{^[cpls].+?\sstdout$}{}m; @DEV = grep { $_ ne 'stdout' } @DEV; # /dev/printer is also naughty: in IRIX it shows up as -- 2.7.4