mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
initialise matches
This commit is contained in:
parent
5360986092
commit
ab6fd5e892
1 changed files with 2 additions and 1 deletions
|
|
@ -43,13 +43,14 @@ if $test_fixed; then
|
|||
else
|
||||
echo "I: Checking order fixed behaves as cyclic when disabled (master)"
|
||||
ret=0
|
||||
matches=0
|
||||
for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
||||
do
|
||||
j=`expr $i % 4`
|
||||
$DIG +nosea +nocomm +nocmd +noquest +noadd +noauth +nocomm +nostat +short \
|
||||
-p 5300 @10.53.0.1 fixed.example > dig.out.fixed || ret=1
|
||||
if [ $i -le 4 ]; then
|
||||
cp dig.out.fixed dig.out.$j
|
||||
cp dig.out.fixed dig.out.$j
|
||||
else
|
||||
cmp -s dig.out.fixed dig.out.$j && matches=`expr $matches + 1`
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue