summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-02-17 22:48:45 +0000
committerJim Meyering <jim@meyering.net>2002-02-17 22:48:45 +0000
commit1b34d3edeeb823dccfb4b4e6ddf07f42cb8fcd3f (patch)
tree3f68e7b240a0fcec3d1cc757b67219ae48e8ca8b /tests
parent94fcdc55eb4a47dd094f6464e18863e0a155c518 (diff)
downloadcoreutils-1b34d3edeeb823dccfb4b4e6ddf07f42cb8fcd3f.tar.xz
Tell head to accept old-style options like `-1'.
Diffstat (limited to 'tests')
-rw-r--r--tests/pr/Test.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/pr/Test.pm b/tests/pr/Test.pm
index 0643c541e..f9c1a85ac 100644
--- a/tests/pr/Test.pm
+++ b/tests/pr/Test.pm
@@ -3,6 +3,9 @@ package Test;
require 5.002;
use strict;
+# Tell head to accept old-style options like `-1'.
+$Test::env_default = ['_POSIX2_VERSION=199209'];
+
my @tv = (
# -b option is no longer an official option. But it's still working to