From f96dc5e195fd242810fb461a6880a7bbc25ff5bb Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 29 Jul 1998 13:27:28 +0000 Subject: Avoid broken pipe for 'y' and 'z' tests. From Andreas. --- tests/cut/Test.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/cut/Test.pm') diff --git a/tests/cut/Test.pm b/tests/cut/Test.pm index 2e6399c5d..f140a344b 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; -- cgit v1.2.3-70-g09d2