aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test2046
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test2046')
-rw-r--r--tests/data/test20466
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/data/test2046 b/tests/data/test2046
index 0f0eb52c6..135c4dac9 100644
--- a/tests/data/test2046
+++ b/tests/data/test2046
@@ -42,8 +42,12 @@ idn
</features>
<setenv>
CHARSET=UTF-8
-LANG=en_US.UTF-8
+LC_ALL=
+LC_CTYPE=UTF-8
</setenv>
+<precheck>
+perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");'
+</precheck>
<name>
Connection re-use with IDN host name
</name>