diff options
Diffstat (limited to 't/run/switches.t')
-rw-r--r-- | t/run/switches.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/run/switches.t b/t/run/switches.t index 315c3b9f95..a2e4bad47c 100644 --- a/t/run/switches.t +++ b/t/run/switches.t @@ -7,6 +7,7 @@ BEGIN { chdir 't' if -d 't'; @INC = '../lib'; + require Config; import Config; } BEGIN { require "./test.pl"; } @@ -111,6 +112,7 @@ SWTEST SKIP: { skip "no POSIX on miniperl", 1, unless $INC{"POSIX.pm"}; + skip 'No locale testing without d_setlocale', 1 if(!$Config{d_setlocale}); my $tempdir = tempfile; mkdir $tempdir, 0700 or die "Can't mkdir '$tempdir': $!"; |