]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
reduced number of test zones to 100
authorAndreas Gustafsson <source@isc.org>
Tue, 23 May 2000 04:48:04 +0000 (04:48 +0000)
committerAndreas Gustafsson <source@isc.org>
Tue, 23 May 2000 04:48:04 +0000 (04:48 +0000)
bin/tests/system/xferquota/setup.pl
bin/tests/system/xferquota/tests.sh

index fe6d409434376feb555cda9d6133edea731de84e..560c0a84244d86ceb0a45d7aad5cac0d2dcc2da4 100644 (file)
@@ -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";
index 76781c1b64b79d71c83670bbd558239bc44e4720..e47f98e9ac7ef388b74b726a5ebeb8381ea17414 100644 (file)
@@ -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