diff options
Diffstat (limited to 'tests/tail/Test.pm')
-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) { |