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