Fix check for the presence of IDNA.

This commit is contained in:
Stephen Morris
2018-03-22 19:04:12 +00:00
parent dc7b3d7597
commit 5009724f40
3 changed files with 3 additions and 23 deletions

View File

@@ -307,14 +307,14 @@ idna_enabled_test() {
idna_disabled_test() {
echo_i "IDNA is disabled, only case mapping tests will be performed"
case_preservation_test
ascii_case_preservation_test
}
# Main test begins here
$FEATURETEST --with-idn
if [ $? -eq 1 ]; then
if [ $? -eq 0 ]; then
idna_enabled_test
else
idna_disabled_test