From 1391d2dc5c07a632321b471d66e706527e1bb843 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 22 Jul 2004 20:54:53 +0000 Subject: 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. --- tests/tail/Test.pm | 5 +++-- 1 file 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}; -- cgit v1.2.3-70-g09d2