summaryrefslogtreecommitdiff
path: root/tests/pr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pr')
-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