From fad2eee631149d26f78b9d39adb3329deb0ed9c8 Mon Sep 17 00:00:00 2001 From: Tom Krizek Date: Tue, 14 Mar 2023 10:33:47 +0100 Subject: [PATCH] Store dupsigs axfr to a file for easier debugging --- bin/tests/system/dupsigs/tests.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/tests/system/dupsigs/tests.sh b/bin/tests/system/dupsigs/tests.sh index 7a899a6996..4693b01e71 100644 --- a/bin/tests/system/dupsigs/tests.sh +++ b/bin/tests/system/dupsigs/tests.sh @@ -25,10 +25,10 @@ status=0 # # for a total of 1008. fully_signed () { - $DIG axfr signing.test -p ${PORT} @10.53.0.1 | - awk 'BEGIN { lines = 0 } - $4 == "RRSIG" {lines++} - END { if (lines != 1008) exit(1) }' + $DIG axfr signing.test -p ${PORT} @10.53.0.1 > "dig.out.ns1.axfr" + awk 'BEGIN { lines = 0 } + $4 == "RRSIG" {lines++} + END { if (lines != 1008) exit(1) }' < "dig.out.ns1.axfr" } retry_quiet 30 fully_signed || ret=1