diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-07-22 20:54:53 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-07-22 20:54:53 +0000 |
commit | 1391d2dc5c07a632321b471d66e706527e1bb843 (patch) | |
tree | 148cb0c4851b7b8c2d5216a9aa9b14aef631eaaa /tests/tail | |
parent | 3f565ee1fe8e562dafda995b6b629af36f95ab5b (diff) | |
download | coreutils-1391d2dc5c07a632321b471d66e706527e1bb843.tar.xz |
Reinstate f-1 test, since we now pass.
Add a new commented-out f-2 test, which we still fail.
(test_vector): All f-* tests are special cases, not just f-1.
Diffstat (limited to 'tests/tail')
-rwxr-xr-x | tests/tail/Test.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/tail/Test.pm b/tests/tail/Test.pm index c4e15422d..f90be80aa 100755 --- a/tests/tail/Test.pm +++ b/tests/tail/Test.pm @@ -68,7 +68,8 @@ my @tv = ( ['n-5b', '-n 0', "y\n" x 5, '', 0], # With textutils-1.22, this failed. -#['f-1', '-f -n 1', "a\nb\n", "b\n", 0], +['f-1', '-f -n 1', "a\nb\n", "b\n", 0], +#['f-2', '-f -n 1 -', "a\nb\n", "b\n", 0], ); sub test_vector @@ -86,7 +87,7 @@ sub test_vector { $Test::input_via{$test_name} = {REDIR => 0, PIPE => 0}; } - elsif ($test_name eq 'f-1') + elsif ($test_name =~ /^f-/) { # Using redirection or a file would make this hang. $Test::input_via{$test_name} = {PIPE => 0}; |