From 822f7be5701ff678f484c099543fb1f80aa67f16 Mon Sep 17 00:00:00 2001 From: Michael G Schwern Date: Wed, 8 Nov 2006 03:51:50 -0500 Subject: Supress df warning in stat.t on OS X Message-ID: <4551E0F6.20108@gmail.com> p4raw-id: //depot/perl@29234 --- t/op/stat.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/op/stat.t') 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); -- cgit v1.2.1