summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-02-18 12:35:00 +0000
committerJim Meyering <jim@meyering.net>2002-02-18 12:35:00 +0000
commitebf1beaf96c585d2279c960a925506c680187a11 (patch)
tree79cb9cf9cf0391f0e1a485ea2ab167cce9ee33ee /tests
parent42eb22a775d39653eefdd3aeb7a7de638b3a2356 (diff)
downloadcoreutils-ebf1beaf96c585d2279c960a925506c680187a11.tar.xz
For tests matching /^(obs|err-[134])/,
put _POSIX2_VERSION=199209 in the environment, so the tests succeed even when the environment would have contained _POSIX2_VERSION=200112.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tail/Test.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tail/Test.pm b/tests/tail/Test.pm
index e40bbbaf4..c4e15422d 100755
--- a/tests/tail/Test.pm
+++ b/tests/tail/Test.pm
@@ -78,6 +78,9 @@ sub test_vector
{
my ($test_name, $flags, $in, $exp, $ret) = @$t;
+ $test_name =~ /^(obs|err-[134])/
+ and $Test::env{$test_name} = ['_POSIX2_VERSION=199209'];
+
# If you run the minus* tests with a FILE arg they'd hang.
if ($test_name =~ /^minus/)
{