summaryrefslogtreecommitdiff
path: root/t/lib
diff options
context:
space:
mode:
authorJan D <jan.djarv@mbox200.swipnet.se>1997-05-19 15:15:37 +1200
committerTim Bunce <Tim.Bunce@ig.co.uk>1997-06-11 12:00:00 +1200
commit3458556dd685b1767b760a72bd2e9007b5c4575e (patch)
tree3f31a32dac691cddb1b72d0342b94977ee1a8fd8 /t/lib
parentd484a8290f98952e0e3a67e0aae9aa08c631f5c2 (diff)
downloadperl-3458556dd685b1767b760a72bd2e9007b5c4575e.tar.gz
Tests depend on locale
This is (sort of) documented in INSTALL. But you are right, the tests should force the LC_ALL to be 'C'. Note: LANG is not enough, and neither is POSIX as readily available as C. Here are the patches: p5p-msgid: 199705191230.PAA21070@alpha.hut.fi Signed-off-by: Jarkko Hietaniemi <jhi@iki.fi>
Diffstat (limited to 't/lib')
-rwxr-xr-xt/lib/safe2.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/lib/safe2.t b/t/lib/safe2.t
index feaab16956..40c5098058 100755
--- a/t/lib/safe2.t
+++ b/t/lib/safe2.t
@@ -8,6 +8,8 @@ BEGIN {
print "1..0\n";
exit 0;
}
+ # test 30 rather naughtily expects English error messages
+ $ENV{'LC_ALL'} = 'C';
}
# Tests Todo: