1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 03:12:48 +02:00

(test_vector): Disable the `PIPE' tests when running

`wc' with no options.  This goes along with the change of 2003-07-20.
This commit is contained in:
Jim Meyering
2003-07-24 07:13:10 +00:00
parent 37fd290bd7
commit 19785d4bfe

View File

@@ -38,6 +38,11 @@ sub test_vector
# FILE in the ouput -- and FILE is different depending on $srcdir.
$Test::input_via{$test_name} = {FILE => 0}
if $test_name =~ /-file$/;
# Now that `wc FILE' (note, with no options) produces results
# different from `cat FILE|wc', disable those two `PIPE' tests.
$flags eq ''
and delete $Test::input_via{$test_name}->{PIPE};
}
return @tv;