summaryrefslogtreecommitdiff
path: root/tests/cut
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-07-29 13:27:28 +0000
committerJim Meyering <jim@meyering.net>1998-07-29 13:27:28 +0000
commitf96dc5e195fd242810fb461a6880a7bbc25ff5bb (patch)
tree8c8804ae28acecf6d65af552afaf59d919405a26 /tests/cut
parent82e166ebbb79c23563c7a67842bd8695c8c3cab4 (diff)
downloadcoreutils-f96dc5e195fd242810fb461a6880a7bbc25ff5bb.tar.xz
Avoid broken pipe for 'y' and 'z' tests.
From Andreas.
Diffstat (limited to 'tests/cut')
-rwxr-xr-xtests/cut/Test.pm4
1 files changed, 4 insertions, 0 deletions
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;