2
0
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:
Tom Krizek
2023-03-14 10:33:47 +01:00
parent cbe2559f37
commit fad2eee631

View File

@@ -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