aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test2047
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/test2047')
-rw-r--r--tests/data/test20476
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/data/test2047 b/tests/data/test2047
index f54a30af6..e5c122d1b 100644
--- a/tests/data/test2047
+++ b/tests/data/test2047
@@ -43,8 +43,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 over HTTP proxy
</name>