From: Jim Meyering Date: Wed, 29 Jul 1998 13:27:28 +0000 (+0000) Subject: Avoid broken pipe for 'y' and 'z' tests. X-Git-Tag: FILEUTILS-3_16t~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f96dc5e195fd242810fb461a6880a7bbc25ff5bb;p=thirdparty%2Fcoreutils.git Avoid broken pipe for 'y' and 'z' tests. From Andreas. --- diff --git a/tests/cut/Test.pm b/tests/cut/Test.pm index 2e6399c5dc..f140a344bb 100755 --- a/tests/cut/Test.pm +++ b/tests/cut/Test.pm @@ -71,6 +71,10 @@ my @tv = ( ); +# Don't use a pipe for these tests to avoid `Broken pipe' message. +$Test::input_via{'y'} = {REDIR => 0, FILE => 0}; +$Test::input_via{'z'} = {REDIR => 0, FILE => 0}; + sub test_vector { return @tv;