mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 06:55:30 +00:00
Store dupsigs axfr to a file for easier debugging
This commit is contained in:
@@ -25,10 +25,10 @@ status=0
|
|||||||
#
|
#
|
||||||
# for a total of 1008.
|
# for a total of 1008.
|
||||||
fully_signed () {
|
fully_signed () {
|
||||||
$DIG axfr signing.test -p ${PORT} @10.53.0.1 |
|
$DIG axfr signing.test -p ${PORT} @10.53.0.1 > "dig.out.ns1.axfr"
|
||||||
awk 'BEGIN { lines = 0 }
|
awk 'BEGIN { lines = 0 }
|
||||||
$4 == "RRSIG" {lines++}
|
$4 == "RRSIG" {lines++}
|
||||||
END { if (lines != 1008) exit(1) }'
|
END { if (lines != 1008) exit(1) }' < "dig.out.ns1.axfr"
|
||||||
}
|
}
|
||||||
retry_quiet 30 fully_signed || ret=1
|
retry_quiet 30 fully_signed || ret=1
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user