diff options
author | Michael G Schwern <schwern@pobox.com> | 2006-11-08 03:51:50 -0500 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-11-08 14:02:46 +0000 |
commit | 822f7be5701ff678f484c099543fb1f80aa67f16 (patch) | |
tree | 66139438403f0e3225494deca59ea5f36de5fcf7 /t/op/stat.t | |
parent | 46e77f111828d72136c91f0837803182535da01d (diff) | |
download | perl-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-x | t/op/stat.t | 2 |
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); |