summaryrefslogtreecommitdiff
path: root/t/op/stat.t
diff options
context:
space:
mode:
authorMichael G Schwern <schwern@pobox.com>2006-11-08 03:51:50 -0500
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-11-08 14:02:46 +0000
commit822f7be5701ff678f484c099543fb1f80aa67f16 (patch)
tree66139438403f0e3225494deca59ea5f36de5fcf7 /t/op/stat.t
parent46e77f111828d72136c91f0837803182535da01d (diff)
downloadperl-822f7be5701ff678f484c099543fb1f80aa67f16.tar.gz
Supress df warning in stat.t on OS X
Message-ID: <4551E0F6.20108@gmail.com> p4raw-id: //depot/perl@29234
Diffstat (limited to 't/op/stat.t')
-rwxr-xr-xt/op/stat.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/op/stat.t b/t/op/stat.t
index c3df450a0e..cde2974883 100755
--- a/t/op/stat.t
+++ b/t/op/stat.t
@@ -30,7 +30,7 @@ $Is_Rhapsody= $^O eq 'rhapsody';
$Is_Dosish = $Is_Dos || $Is_OS2 || $Is_MSWin32 || $Is_NetWare || $Is_Cygwin;
-$Is_UFS = $Is_Darwin && (() = `df -t ufs .`) == 2;
+$Is_UFS = $Is_Darwin && (() = `df -t ufs . 2>/dev/null`) == 2;
my($DEV, $INO, $MODE, $NLINK, $UID, $GID, $RDEV, $SIZE,
$ATIME, $MTIME, $CTIME, $BLKSIZE, $BLOCKS) = (0..12);