]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Reinstate f-1 test, since we now pass.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 22 Jul 2004 20:54:53 +0000 (20:54 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 22 Jul 2004 20:54:53 +0000 (20:54 +0000)
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

index c4e15422d31024de0da968664c390375ba317f33..f90be80aa26c2b3dc81141a08f58e599f968fe0c 100755 (executable)
@@ -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};