summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-07-01 23:50:46 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-07-01 23:50:46 +0000
commit2d33a9301bf506d906cc9311f058efadff501806 (patch)
treef1a26a2f60c681f7e0ea90a9eb46bca97446d26e /tests
parent7b49a25b5036f4224c989cf0084aa095c5d798ef (diff)
downloadcoreutils-2d33a9301bf506d906cc9311f058efadff501806.tar.xz
(f-pipe-1): Renamed from f-1.
(test_vector): Set POSIXLY_CORRECT for the f-pipe-* tests.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tail/Test.pm7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/tail/Test.pm b/tests/tail/Test.pm
index 354b4f9c1..ee5fca055 100755
--- a/tests/tail/Test.pm
+++ b/tests/tail/Test.pm
@@ -77,8 +77,7 @@ 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-2', '-f -n 1 -', "a\nb\n", "b\n", 0],
+['f-pipe-1', '-f -n 1', "a\nb\n", "b\n", 0],
);
sub test_vector
@@ -96,6 +95,10 @@ sub test_vector
{
$Test::env{$test_name} = ['_POSIX2_VERSION=200112'];
}
+ if ($test_name =~ /^f-pipe-/)
+ {
+ $Test::env{$test_name} = ['POSIXLY_CORRECT=1'];
+ }
# If you run the minus* tests with a FILE arg they'd hang.
# If you run the err-1 or err-3 tests with a FILE, they'd misinterpret