Avoid broken pipe for 'y' and 'z' tests.
authorJim Meyering <jim@meyering.net>
Wed, 29 Jul 1998 13:27:28 +0000 (13:27 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 29 Jul 1998 13:27:28 +0000 (13:27 +0000)
From Andreas.

tests/cut/Test.pm

index 2e6399c5dc830f309e5c6aee4f7b6b869396e254..f140a344bbc14a16f41d2e751ae213bb71ffdd5b 100755 (executable)
@@ -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;