summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
#