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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user