From: Andy Dougherty Date: Thu, 24 Jan 2002 13:02:20 +0000 (-0500) Subject: Suppress /bin/ls errors in t/op/stat.t X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2879b1232887bfb0dec311c23b1fb15ecc61989f;p=p5sagit%2Fp5-mst-13.2.git Suppress /bin/ls errors in t/op/stat.t Message-ID: p4raw-id: //depot/perl@14406 --- diff --git a/t/op/stat.t b/t/op/stat.t index 1c0d4b2..82566a8 100755 --- a/t/op/stat.t +++ b/t/op/stat.t @@ -200,7 +200,7 @@ SKIP: { unless -d '/dev' && -r '/dev' && -x '/dev'; my $LS = $Config{d_readlink} ? "ls -lL" : "ls -l"; - my $CMD = "$LS /dev"; + my $CMD = "$LS /dev 2>/dev/null"; my $DEV = qx($CMD); skip "$CMD failed", 3 if $DEV eq '';