Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISC Open Source Projects
BIND
Commits
9c2e820b
Commit
9c2e820b
authored
Mar 05, 2001
by
David Lawrence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new test for exercising cache cleaning
parent
da928cb9
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
4939 additions
and
0 deletions
+4939
-0
bin/tests/system/cacheclean/clean.sh
bin/tests/system/cacheclean/clean.sh
+25
-0
bin/tests/system/cacheclean/dig.batch
bin/tests/system/cacheclean/dig.batch
+924
-0
bin/tests/system/cacheclean/knowngood.dig.out
bin/tests/system/cacheclean/knowngood.dig.out
+953
-0
bin/tests/system/cacheclean/ns1/.cvsignore
bin/tests/system/cacheclean/ns1/.cvsignore
+1
-0
bin/tests/system/cacheclean/ns1/example.db
bin/tests/system/cacheclean/ns1/example.db
+2933
-0
bin/tests/system/cacheclean/ns1/named.conf
bin/tests/system/cacheclean/ns1/named.conf
+35
-0
bin/tests/system/cacheclean/ns2/.cvsignore
bin/tests/system/cacheclean/ns2/.cvsignore
+1
-0
bin/tests/system/cacheclean/ns2/named.conf
bin/tests/system/cacheclean/ns2/named.conf
+35
-0
bin/tests/system/cacheclean/tests.sh
bin/tests/system/cacheclean/tests.sh
+32
-0
No files found.
bin/tests/system/cacheclean/clean.sh
0 → 100644
View file @
9c2e820b
#!/bin/sh
#
# Copyright (C) 2000, 2001 Internet Software Consortium.
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# $Id: clean.sh,v 1.1 2001/03/05 12:50:07 tale Exp $
#
# Clean up after cache cleaner tests.
#
rm
-f
dig.out.ns2
bin/tests/system/cacheclean/dig.batch
0 → 100644
View file @
9c2e820b
This diff is collapsed.
Click to expand it.
bin/tests/system/cacheclean/knowngood.dig.out
0 → 100644
View file @
9c2e820b
This diff is collapsed.
Click to expand it.
bin/tests/system/cacheclean/ns1/.cvsignore
0 → 100644
View file @
9c2e820b
named.run
bin/tests/system/cacheclean/ns1/example.db
0 → 100644
View file @
9c2e820b
This diff is collapsed.
Click to expand it.
bin/tests/system/cacheclean/ns1/named.conf
0 → 100644
View file @
9c2e820b
/*
*
Copyright
(
C
)
2000
,
2001
Internet
Software
Consortium
.
*
*
Permission
to
use
,
copy
,
modify
,
and
distribute
this
software
for
any
*
purpose
with
or
without
fee
is
hereby
granted
,
provided
that
the
above
*
copyright
notice
and
this
permission
notice
appear
in
all
copies
.
*
*
THE
SOFTWARE
IS
PROVIDED
"AS IS"
AND
INTERNET
SOFTWARE
CONSORTIUM
*
DISCLAIMS
ALL
WARRANTIES
WITH
REGARD
TO
THIS
SOFTWARE
INCLUDING
ALL
*
IMPLIED
WARRANTIES
OF
MERCHANTABILITY
AND
FITNESS
.
IN
NO
EVENT
SHALL
*
INTERNET
SOFTWARE
CONSORTIUM
BE
LIABLE
FOR
ANY
SPECIAL
,
DIRECT
,
*
INDIRECT
,
OR
CONSEQUENTIAL
DAMAGES
OR
ANY
DAMAGES
WHATSOEVER
RESULTING
*
FROM
LOSS
OF
USE
,
DATA
OR
PROFITS
,
WHETHER
IN
AN
ACTION
OF
CONTRACT
,
*
NEGLIGENCE
OR
OTHER
TORTIOUS
ACTION
,
ARISING
OUT
OF
OR
IN
CONNECTION
*
WITH
THE
USE
OR
PERFORMANCE
OF
THIS
SOFTWARE
.
*/
/* $
Id
:
named
.
conf
,
v
1
.
1
2001
/
03
/
05
12
:
50
:
08
tale
Exp
$ */
options
{
query
-
source
address
10
.
53
.
0
.
1
;
notify
-
source
10
.
53
.
0
.
1
;
transfer
-
source
10
.
53
.
0
.
1
;
port
5300
;
pid
-
file
"named.pid"
;
listen
-
on
{
10
.
53
.
0
.
1
; };
listen
-
on
-
v6
{
none
; };
recursion
no
;
notify
yes
;
};
zone
"."
{
type
master
;
file
"example.db"
;
};
bin/tests/system/cacheclean/ns2/.cvsignore
0 → 100644
View file @
9c2e820b
named.run
bin/tests/system/cacheclean/ns2/named.conf
0 → 100644
View file @
9c2e820b
/*
*
Copyright
(
C
)
2000
,
2001
Internet
Software
Consortium
.
*
*
Permission
to
use
,
copy
,
modify
,
and
distribute
this
software
for
any
*
purpose
with
or
without
fee
is
hereby
granted
,
provided
that
the
above
*
copyright
notice
and
this
permission
notice
appear
in
all
copies
.
*
*
THE
SOFTWARE
IS
PROVIDED
"AS IS"
AND
INTERNET
SOFTWARE
CONSORTIUM
*
DISCLAIMS
ALL
WARRANTIES
WITH
REGARD
TO
THIS
SOFTWARE
INCLUDING
ALL
*
IMPLIED
WARRANTIES
OF
MERCHANTABILITY
AND
FITNESS
.
IN
NO
EVENT
SHALL
*
INTERNET
SOFTWARE
CONSORTIUM
BE
LIABLE
FOR
ANY
SPECIAL
,
DIRECT
,
*
INDIRECT
,
OR
CONSEQUENTIAL
DAMAGES
OR
ANY
DAMAGES
WHATSOEVER
RESULTING
*
FROM
LOSS
OF
USE
,
DATA
OR
PROFITS
,
WHETHER
IN
AN
ACTION
OF
CONTRACT
,
*
NEGLIGENCE
OR
OTHER
TORTIOUS
ACTION
,
ARISING
OUT
OF
OR
IN
CONNECTION
*
WITH
THE
USE
OR
PERFORMANCE
OF
THIS
SOFTWARE
.
*/
/* $
Id
:
named
.
conf
,
v
1
.
1
2001
/
03
/
05
12
:
50
:
08
tale
Exp
$ */
options
{
query
-
source
address
10
.
53
.
0
.
2
;
notify
-
source
10
.
53
.
0
.
2
;
transfer
-
source
10
.
53
.
0
.
2
;
port
5300
;
pid
-
file
"named.pid"
;
listen
-
on
{
10
.
53
.
0
.
2
; };
listen
-
on
-
v6
{
none
; };
notify
yes
;
max
-
cache
-
size
10000
;
};
zone
"."
{
type
hint
;
file
"../../common/root.hint"
;
};
bin/tests/system/cacheclean/tests.sh
0 → 100644
View file @
9c2e820b
#!/bin/sh
#
# Copyright (C) 2000, 2001 Internet Software Consortium.
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# $Id: tests.sh,v 1.1 2001/03/05 12:50:07 tale Exp $
SYSTEMTESTTOP
=
..
.
$SYSTEMTESTTOP
/conf.sh
status
=
0
$DIG
+nosea +nocomm +nocmd +noquest +noadd +noauth +nocomm +nostat
\
-f
dig.batch
-p
5300 @10.53.0.2
>
dig.out.ns2
||
status
=
1
grep
";"
dig.out.ns2
$PERL
../digcomp.pl dig.out.ns2 knowngood.dig.out
||
status
=
1
echo
"I:exit status:
$status
"
exit
$status
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