]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
For tests matching /^(obs|err-[134])/,
authorJim Meyering <jim@meyering.net>
Mon, 18 Feb 2002 12:35:00 +0000 (12:35 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 18 Feb 2002 12:35:00 +0000 (12:35 +0000)
put _POSIX2_VERSION=199209 in the environment, so the tests succeed
even when the environment would have contained _POSIX2_VERSION=200112.

tests/tail/Test.pm

index e40bbbaf410a7fb2e8f24c445e9b287a90cb9391..c4e15422d31024de0da968664c390375ba317f33 100755 (executable)
@@ -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/)
        {