]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
* tests/uniq/Test.pm (test_vector): Skip the pipe-reading test
authorJim Meyering <jim@meyering.net>
Sat, 9 Dec 2006 13:17:00 +0000 (14:17 +0100)
committerJim Meyering <jim@meyering.net>
Sat, 9 Dec 2006 13:17:00 +0000 (14:17 +0100)
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.

ChangeLog
tests/uniq/Test.pm

index 66bf2b0aceff7e22050b5a9f19b17b6858ba5279..f4eea63948b98541015a2c7b191b6f157344b812 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index d01759e7f88588efbc888cc4acc12a0be9a2f2ff..fe0fc68a50dd3cb7c0a88284952c99812f34885d 100644 (file)
@@ -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};
     }