summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-02-17 22:50:33 +0000
committerJim Meyering <jim@meyering.net>2002-02-17 22:50:33 +0000
commit3f570570fdef11dcedb68ac90f19ca14199caf2a (patch)
treea9a687ed7a2dc63eab224c765bb94be91e9c4e17 /tests
parent4228c4b8600d114974a2f8808b6c58df96864150 (diff)
downloadcoreutils-3f570570fdef11dcedb68ac90f19ca14199caf2a.tar.xz
Tell sort to accept old-style options.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/sort/Test.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/sort/Test.pm b/tests/sort/Test.pm
index b85977aa4..1633d7ca1 100755
--- a/tests/sort/Test.pm
+++ b/tests/sort/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 = (
#test options input expected-output expected-return-code
#