mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
Remove unstable check from digdelv test
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
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user