mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +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:
parent
4c487c811d
commit
b98660e93e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user