summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-12-26 21:21:01 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-12-26 21:21:01 +0000
commitc7974a0a6e1dc44cd0f91d992a27679cb5e55c95 (patch)
treed8d5a626d3f7be63acba2be12d9800736c344fce
parent49afa5f6a0c89badde3e7bcd8ece054574377201 (diff)
downloadperl-c7974a0a6e1dc44cd0f91d992a27679cb5e55c95.tar.gz
Naughty /dev/printer (ls -l, really) of IRIX.
p4raw-id: //depot/perl@13898
-rwxr-xr-xt/op/stat.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/op/stat.t b/t/op/stat.t
index 57460fcfd1..2f18382fa8 100755
--- a/t/op/stat.t
+++ b/t/op/stat.t
@@ -215,6 +215,11 @@ SKIP: {
$DEV =~ s{^[cp].+?\sstdout$}{}m;
@DEV = grep { $_ ne 'stdout' } @DEV;
+ # /dev/printer is also naughty: in IRIX it shows up as
+ # Srwx-----, not srwx------.
+ $DEV =~ s{^.+?\sprinter$}{}m;
+ @DEV = grep { $_ ne 'printer' } @DEV;
+
# If running as root, we will see .files in the ls result,
# and readdir() will see them always. Potential for conflict,
# so let's weed them out.