Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
9d7c5c2c
Commit
9d7c5c2c
authored
May 23, 2000
by
Andreas Gustafsson
Browse files
reduced number of test zones to 100
parent
875ad7d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
bin/tests/system/xferquota/setup.pl
View file @
9d7c5c2c
...
...
@@ -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
<
100
0
;
$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
";
...
...
bin/tests/system/xferquota/tests.sh
View file @
9d7c5c2c
...
...
@@ -32,7 +32,7 @@ fi
count
=
0
ticks
=
0
while
[
$count
!=
100
0
]
;
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
\
zone000
9
99.example. @10.53.0.1 axfr
>
dig.out.ns1
zone000
0
99.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
\
zone000
9
99.example. @10.53.0.2 axfr
>
dig.out.ns2
zone000
0
99.example. @10.53.0.2 axfr
>
dig.out.ns2
status
=
`
expr
$status
+
$?
`
grep
";"
dig.out.ns2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment