]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove IDN subtest from the "digdelv" system test
authorMichał Kępień <michal@isc.org>
Thu, 12 Jul 2018 11:35:10 +0000 (13:35 +0200)
committerMichał Kępień <michal@isc.org>
Fri, 13 Jul 2018 06:22:12 +0000 (08:22 +0200)
The output of certain "dig +idnout" invocations may be locale-dependent.
Remove the "dig +idnout" subtest from the "digdelv" system test as IDN
support is already thoroughly tested by the "idna" system test.

bin/tests/system/digdelv/tests.sh

index fa80a91019dca3f9b6bfc0524e8a0f6fc755bb84..6cd321e79ff5d4367834b4fdb07e28accbeb5cd4 100644 (file)
@@ -443,23 +443,6 @@ if [ -x ${DIG} ] ; then
   if [ $ret != 0 ]; then echo_i "failed"; fi
   status=`expr $status + $ret`
 
-  n=`expr $n + 1`
-  if $FEATURETEST --with-idn
-  then
-    echo_i "checking dig +idnout ($n)"
-    ret=0
-    $DIG $DIGOPTS @10.53.0.3 +noidnout xn--caf-dma.example. > dig.out.1.test$n 2>&1 || ret=1
-    $DIG $DIGOPTS @10.53.0.3 +idnout xn--caf-dma.example. > dig.out.2.test$n 2>&1 || ret=1
-    grep "^xn--caf-dma.example" dig.out.1.test$n > /dev/null || ret=1
-    grep "^xn--caf-dma.example" dig.out.2.test$n > /dev/null && ret=1
-    grep 10.1.2.3 dig.out.1.test$n > /dev/null || ret=1
-    grep 10.1.2.3 dig.out.2.test$n > /dev/null || ret=1
-    if [ $ret != 0 ]; then echo_i "failed"; fi
-    status=`expr $status + $ret`
-  else
-    echo_i "skipping 'dig +idnout' as IDN support is not enabled ($n)"
-  fi
-
   n=`expr $n + 1`
   echo_i "checking that dig warns about .local queries ($n)"
   ret=0