summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-12-05 23:01:53 +0000
committerJim Meyering <jim@meyering.net>2004-12-05 23:01:53 +0000
commit6d96f41e1a17e4b1918ba83dcf403198984c0a66 (patch)
tree84746ce687f320cdd6586d4e8e890bb7ac616dc2 /tests
parent39a1adb375dc907fbd7f728b5130f0edee8cd683 (diff)
downloadcoreutils-6d96f41e1a17e4b1918ba83dcf403198984c0a66.tar.xz
(test_vector): Avoid test failure when
_POSIX2_VERSION=199209 is in the environment, or when building on e.g., OpenBSD 3.2.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tail/Test.pm4
1 files changed, 4 insertions, 0 deletions
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)
{