There are a total of 22 notifies required before the start of the test:
20 for each x1..x20 and two for x21, as it has a couple of servers.
grep "status: NOERROR" dig.out.ns3.test$n >/dev/null || ret=1
grep "flags:.* aa[ ;]" dig.out.ns3.test$n >/dev/null || ret=1
nr=$(grep -c 'x[0-9].*sending notify to' ns2/named.run)
- [ "$nr" -ge 23 ] || ret=1
+ [ "$nr" -ge 22 ] || ret=1
[ $ret = 0 ] && break
sleep 1
done
print "count:", count;
print "average:", average;
if (average < 0.180) exit(1);
- if (count < 23) exit(1);
+ if (count < 22) exit(1);
}' ns2/named.run >awk.out.ns2.test$n || ret=1
test_end