From dab023dec17868b763098bb8a1cd0caccd6c8e5d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 9 Dec 2006 14:17:00 +0100 Subject: * tests/uniq/Test.pm (test_vector): Skip the pipe-reading test whenever uniq is expected to fail. This should catch the other case [test #112] in which uniq emits "cat: write error: Broken pipe" on some systems. --- tests/uniq/Test.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/uniq') diff --git a/tests/uniq/Test.pm b/tests/uniq/Test.pm index d01759e7f..fe0fc68a5 100644 --- a/tests/uniq/Test.pm +++ b/tests/uniq/Test.pm @@ -118,7 +118,7 @@ sub test_vector $test_name =~ /^obs-plus/ and $Test::env{$test_name} = ['_POSIX2_VERSION=199209']; - $flags =~ /badoption/ + $ret and $Test::input_via{$test_name} = {REDIR => 0}; } -- cgit v1.2.3-54-g00ecf