read dig.out.ns3.test$n rather than dig.out.ns2.test$n

This commit is contained in:
Mark Andrews
2017-10-25 15:02:36 +11:00
parent a53e03205a
commit 80739779fc

View File

@@ -2506,7 +2506,7 @@ s2=`awk '$4 == "SOA" { print $7}' dig.out.ns2.test$n`
for i in 1 2 3 4 5 6 7 8 9 10
do
$DIG $DIGOPTS +noauth +nodnssec soa nsec3chain-test @10.53.0.3 > dig.out.ns3.test$n || ret=1
s3=`awk '$4 == "SOA" { print $7}' dig.out.ns2.test$n`
s3=`awk '$4 == "SOA" { print $7}' dig.out.ns3.test$n`
test "$s2" = "$s3" && break
sleep 1
done