diff options
author | Jim Meyering <jim@meyering.net> | 2006-12-09 14:17:00 +0100 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-12-09 14:17:00 +0100 |
commit | dab023dec17868b763098bb8a1cd0caccd6c8e5d (patch) | |
tree | ea80a6fd96133380cfd394ebac8c183af1ffc666 | |
parent | 939c480a79f7776a3d6a73fbf3eef411d1e2256f (diff) | |
download | coreutils-dab023dec17868b763098bb8a1cd0caccd6c8e5d.tar.xz |
* 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.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | tests/uniq/Test.pm | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2006-12-09 Jim Meyering <jim@meyering.net> + + * 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. + 2006-12-08 Jim Meyering <jim@meyering.net> Include bootstrap tool version info in the announcement form. 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}; } |