From 6d96f41e1a17e4b1918ba83dcf403198984c0a66 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 5 Dec 2004 23:01:53 +0000 Subject: (test_vector): Avoid test failure when _POSIX2_VERSION=199209 is in the environment, or when building on e.g., OpenBSD 3.2. --- tests/tail/Test.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/tail/Test.pm b/tests/tail/Test.pm index 69670c360..8deb9eb7a 100755 --- a/tests/tail/Test.pm +++ b/tests/tail/Test.pm @@ -78,6 +78,10 @@ my @tv = ( sub test_vector { + # With _POSIX2_VERSION=199209, `tail -c' succeeds, but err-6 expects + # a failure, so set _POSIX2_VERSION to ensure it fails. + $Test::env{'err-6'} = ['_POSIX2_VERSION=200112']; + my $t; foreach $t (@tv) { -- cgit v1.2.3-70-g09d2