From ebf1beaf96c585d2279c960a925506c680187a11 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 18 Feb 2002 12:35:00 +0000 Subject: 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. --- tests/tail/Test.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') 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/) { -- cgit v1.2.3-54-g00ecf