Commit 9d7c5c2c authored by Andreas Gustafsson's avatar Andreas Gustafsson
Browse files

reduced number of test zones to 100

parent 875ad7d9
......@@ -23,7 +23,7 @@ use FileHandle;
my $masterconf = new FileHandle("ns1/zones.conf", "w") or die;
my $slaveconf = new FileHandle("ns2/zones.conf", "w") or die;
for ($z = 0; $z < 1000; $z++) {
for ($z = 0; $z < 100; $z++) {
my $zn = sprintf("zone%06d.example", $z);
print $masterconf "zone \"$zn\" { type master; file \"$zn.db\"; };\n";
print $slaveconf "zone \"$zn\" { type slave; file \"$zn.bk\"; masters { 10.53.0.1; }; };\n";
......
......@@ -32,7 +32,7 @@ fi
count=0
ticks=0
while [ $count != 1000 ]; do
while [ $count != 100 ]; do
sleep 5
ticks=`expr $ticks + 1`
seconds=`expr $ticks \* 5`
......@@ -46,12 +46,12 @@ done
status=0;
../../../dig/dig +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd \
zone000999.example. @10.53.0.1 axfr > dig.out.ns1
zone000099.example. @10.53.0.1 axfr > dig.out.ns1
status=`expr $status + $?`
grep ";" dig.out.ns1
../../../dig/dig +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd \
zone000999.example. @10.53.0.2 axfr > dig.out.ns2
zone000099.example. @10.53.0.2 axfr > dig.out.ns2
status=`expr $status + $?`
grep ";" dig.out.ns2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment