diff options
author | Jim Meyering <jim@meyering.net> | 2004-12-05 23:01:53 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-12-05 23:01:53 +0000 |
commit | 6d96f41e1a17e4b1918ba83dcf403198984c0a66 (patch) | |
tree | 84746ce687f320cdd6586d4e8e890bb7ac616dc2 | |
parent | 39a1adb375dc907fbd7f728b5130f0edee8cd683 (diff) | |
download | coreutils-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.
-rwxr-xr-x | tests/tail/Test.pm | 4 |
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) { |