From: Jim Meyering Date: Sat, 9 Dec 2006 13:17:00 +0000 (+0100) Subject: * tests/uniq/Test.pm (test_vector): Skip the pipe-reading test X-Git-Tag: COREUTILS-6_8~140 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dab023dec17868b763098bb8a1cd0caccd6c8e5d;p=thirdparty%2Fcoreutils.git * 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. --- diff --git a/ChangeLog b/ChangeLog index 66bf2b0ace..f4eea63948 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-12-09 Jim Meyering + + * 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 Include bootstrap tool version info in the announcement form. diff --git a/tests/uniq/Test.pm b/tests/uniq/Test.pm index d01759e7f8..fe0fc68a50 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}; }