]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Tell sort to accept old-style options.
authorJim Meyering <jim@meyering.net>
Sun, 17 Feb 2002 22:50:33 +0000 (22:50 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 17 Feb 2002 22:50:33 +0000 (22:50 +0000)
tests/sort/Test.pm

index b85977aa4ec7148b0b464562f498f5a52c4aa3db..1633d7ca10b73acac92387585add01ca385d01a5 100755 (executable)
@@ -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
 #