mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03: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:
1 parent
37fd290bd7
commit
19785d4bfe
1 file changed
+5
@@ -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