From: Jim Meyering Date: Mon, 18 Feb 2002 12:35:00 +0000 (+0000) Subject: For tests matching /^(obs|err-[134])/, X-Git-Tag: TEXTUTILS-2_0_21~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ebf1beaf96c585d2279c960a925506c680187a11;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/tests/tail/Test.pm b/tests/tail/Test.pm index e40bbbaf41..c4e15422d3 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/) {