diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-03-16 18:07:30 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-03-16 18:07:30 +0000 |
commit | 085a16fc645d01e9c317a227fb12575af270d8fb (patch) | |
tree | 83591b841f3a9bf5858b52ca7fbb2e1fdc45e9bb /t | |
parent | 11412ee612ee855f6157e78034024e8f5e3ba052 (diff) | |
download | perl-085a16fc645d01e9c317a227fb12575af270d8fb.tar.gz |
IRIX ls -l marks sockets with 'S'.
p4raw-id: //depot/perl@18997
Diffstat (limited to 't')
-rwxr-xr-x | t/op/stat.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/op/stat.t b/t/op/stat.t index df478b09de..89046c364b 100755 --- a/t/op/stat.t +++ b/t/op/stat.t @@ -242,6 +242,11 @@ SKIP: { $DEV =~ s{^.+?\s\..+?$}{}m; @DEV = grep { ! m{^\..+$} } @DEV; + # Irix ls -l marks sockets with 'S' while 's' is a 'XENIX semaphore'. + if ($^O eq 'irix') { + $DEV =~ s{^S(.+?)}{s$1}mg; + } + my $try = sub { my @c1 = eval qq[\$DEV =~ /^$_[0].*/mg]; my @c2 = eval qq[grep { $_[1] "/dev/\$_" } \@DEV]; |