]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove unstable check from digdelv test
authorNicki Křížek <nicki@isc.org>
Fri, 4 Jul 2025 13:41:04 +0000 (15:41 +0200)
committerNicki Křížek <nicki@isc.org>
Mon, 7 Jul 2025 11:29:15 +0000 (13:29 +0200)
The code which checks for both IPv4 and IPv6 mixed usage is inherently
unstable, since the address family is chosen randomly for each
connection.

Closes #5406

bin/tests/system/digdelv/tests.sh

index 99cd26b6408c81fb6db442f3d5aa9f8cc9629237..c8d060161b13bc803caf47b2239809eb8ab7e551 100644 (file)
@@ -1828,15 +1828,6 @@ if [ -x "$DELV" ]; then
   status=$((status + ret))
 
   if testsock6 fd92:7065:b8e:ffff::2 2>/dev/null; then
-    n=$((n + 1))
-    echo_i "checking delv +ns uses both address families ($n)"
-    ret=0
-    delv_with_opts -a ns1/anchor.dnskey +root +ns +hint=root.hint a a.example >delv.out.test$n || ret=1
-    grep -q 'sending packet from [0-9.]*#[0-9]* to' delv.out.test$n >/dev/null || ret=1
-    grep -q 'sending packet from [0-9a-f:]*#[0-9]* to' delv.out.test$n >/dev/null || ret=1
-    if [ $ret -ne 0 ]; then echo_i "failed"; fi
-    status=$((status + ret))
-
     n=$((n + 1))
     echo_i "checking delv -4 +ns uses only IPv4 ($n)"
     ret=0