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
fa7ee558
Commit
fa7ee558
authored
Mar 10, 2004
by
Mark Andrews
Browse files
1584. [bug] "make test" failed with a readonly source tree.
[RT #10461]
parent
5a680f41
Changes
18
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
fa7ee558
...
...
@@ -7,7 +7,8 @@
1585. [placeholder]
1584. [placeholder] rt10461
1584. [bug] "make test" failed with a readonly source tree.
[RT #10461]
1583. [bug] Records add via UPDATE failed to get the correct trust
level. [RT #10452]
...
...
bin/tests/system/dnssec/clean.sh
View file @
fa7ee558
...
...
@@ -15,12 +15,13 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: clean.sh,v 1.1
4
2004/03/0
5
0
5
:0
0
:0
8
marka Exp $
# $Id: clean.sh,v 1.1
5
2004/03/
1
0 0
1
:0
6
:0
4
marka Exp $
rm
-f
*
/K
*
*
/keyset-
*
*
/signedkey-
*
*
/
*
.signed
*
/trusted.conf
*
/tmp
*
rm
-f
ns1/root.db ns2/example.db ns3/secure.example.db
rm
-f
ns3/unsecure.example.db ns3/bogus.example.db ns3/keyless.example.db
rm
-f
ns3/dynamic.example.db ns3/dynamic.example.db.signed.jnl
rm
-f
*
/example.bk
rm
-f
dig.out.
*
rm
-f
random.data
bin/tests/system/dnssec/setup.sh
View file @
fa7ee558
...
...
@@ -15,7 +15,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: setup.sh,v 1.1
1
2004/03/0
5
0
5
:0
0
:0
9
marka Exp $
# $Id: setup.sh,v 1.1
2
2004/03/
1
0 0
1
:0
6
:0
4
marka Exp $
../../genrandom 400 random.data
...
...
@@ -23,4 +23,4 @@ cd ns1 && sh sign.sh
echo
"a.bogus.example. A 10.0.0.22"
>>
../ns3/bogus.example.db.signed
cd
../ns5
&&
cp
trusted.conf.bad trusted.conf
cd
../ns5
&&
cp
-f
trusted.conf.bad trusted.conf
bin/tests/system/glue/setup.sh
View file @
fa7ee558
...
...
@@ -15,6 +15,6 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: setup.sh,v 1.
3
2004/03/0
5
0
5
:0
0:55
marka Exp $
# $Id: setup.sh,v 1.
4
2004/03/
1
0 0
1
:0
6:04
marka Exp $
cd
ns1
&&
cp
cache.in cache
cd
ns1
&&
cp
-f
cache.in cache
bin/tests/system/notify/clean.sh
View file @
fa7ee558
...
...
@@ -15,11 +15,12 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: clean.sh,v 1.
8
2004/03/0
5
0
5
:0
1:39
marka Exp $
# $Id: clean.sh,v 1.
9
2004/03/
1
0 0
1
:0
6:04
marka Exp $
#
# Clean up after zone transfer tests.
#
rm
-f
ns3/example.bk dig.out.ns2 dig.out.ns3
rm
-f
ns2/example.db
bin/tests/system/notify/setup.sh
View file @
fa7ee558
...
...
@@ -15,6 +15,6 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: setup.sh,v 1.
7
2004/03/0
5
0
5
:0
1:39
marka Exp $
# $Id: setup.sh,v 1.
8
2004/03/
1
0 0
1
:0
6:04
marka Exp $
cp
ns2/example1.db ns2/example.db
cp
-f
ns2/example1.db ns2/example.db
bin/tests/system/notify/tests.sh
View file @
fa7ee558
...
...
@@ -15,7 +15,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: tests.sh,v 1.3
0
2004/03/0
5
0
5
:0
1:39
marka Exp $
# $Id: tests.sh,v 1.3
1
2004/03/
1
0 0
1
:0
6:04
marka Exp $
SYSTEMTESTTOP
=
..
.
$SYSTEMTESTTOP
/conf.sh
...
...
@@ -33,7 +33,7 @@ grep ";" dig.out.ns3
$PERL
../digcomp.pl dig.out.ns2 dig.out.ns3
||
status
=
1
rm
-f
ns2/example.db
cp
ns2/example2.db ns2/example.db
cp
-f
ns2/example2.db ns2/example.db
kill
-HUP
`
cat
ns2/named.pid
`
sleep
45
...
...
@@ -53,7 +53,7 @@ $PERL ../digcomp.pl dig.out.ns2 dig.out.ns3 || status=1
$PERL
$SYSTEMTESTTOP
/stop.pl
.
ns3
rm
-f
ns2/example.db
cp
ns2/example3.db ns2/example.db
cp
-f
ns2/example3.db ns2/example.db
kill
-HUP
`
cat
ns2/named.pid
`
sleep
45
...
...
@@ -72,7 +72,7 @@ $PERL ../digcomp.pl dig.out.ns2 dig.out.ns3 || status=1
$PERL
$SYSTEMTESTTOP
/stop.pl
.
ns2
rm
-f
ns2/example.db
cp
ns2/example4.db ns2/example.db
cp
-f
ns2/example4.db ns2/example.db
$PERL
$SYSTEMTESTTOP
/start.pl
.
ns2
...
...
bin/tests/system/nsupdate/clean.sh
View file @
fa7ee558
...
...
@@ -15,7 +15,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: clean.sh,v 1.
8
2004/03/0
5
0
5
:0
1:5
5 marka Exp $
# $Id: clean.sh,v 1.
9
2004/03/
1
0 0
1
:0
6:0
5 marka Exp $
#
# Clean up after zone transfer tests.
...
...
@@ -23,6 +23,8 @@
rm
-f
dig.out.ns1 dig.out.ns2 dig.out.ns1.after ns1/
*
.jnl ns2/
*
.jnl
\
ns1/example.db ns1/update.db
rm
-f
ns2/example.bk
rm
-f
ns2/update.bk
...
...
bin/tests/system/nsupdate/setup.sh
View file @
fa7ee558
...
...
@@ -15,7 +15,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: setup.sh,v 1.
7
2004/03/0
5
0
5
:0
1:5
5 marka Exp $
# $Id: setup.sh,v 1.
8
2004/03/
1
0 0
1
:0
6:0
5 marka Exp $
#
# jnl and database files MUST be removed before we start
...
...
@@ -23,7 +23,7 @@
rm
-f
ns1/
*
.jnl ns1/example.db ns2/
*
.jnl ns2/example.bk
cp
ns1/example1.db ns1/example.db
cp
-f
ns1/example1.db ns1/example.db
# update_test.pl has its own zone file because it
# requires a specific NS record set.
...
...
bin/tests/system/relay/setup.sh
View file @
fa7ee558
...
...
@@ -15,6 +15,6 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: setup.sh,v 1.
3
2004/03/0
5
0
5
:0
2:11
marka Exp $
# $Id: setup.sh,v 1.
4
2004/03/
1
0 0
1
:0
6:05
marka Exp $
cp
ns2/example1.db ns2/example.db
cp
-f
ns2/example1.db ns2/example.db
bin/tests/system/relay/tests.sh
View file @
fa7ee558
...
...
@@ -15,7 +15,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: tests.sh,v 1.
4
2004/03/0
5
0
5
:0
2:11
marka Exp $
# $Id: tests.sh,v 1.
5
2004/03/
1
0 0
1
:0
6:05
marka Exp $
SYSTEMTESTTOP
=
..
.
$SYSTEMTESTTOP
/conf.sh
...
...
@@ -39,7 +39,7 @@ $PERL ../digcomp.pl dig.out.ns2 dig.out.ns3 || status=1
$PERL
../digcomp.pl dig.out.ns2 dig.out.ns4
||
status
=
1
rm
-f
ns2/example.db
cp
ns2/example2.db ns2/example.db
cp
-f
ns2/example2.db ns2/example.db
sleep
6
kill
-HUP
`
cat
ns2/named.pid
`
sleep
60
...
...
@@ -70,7 +70,7 @@ if [ $? != 0 ]; then
rm
-f
ns3/named.pid
fi
rm
-f
ns2/example.db
cp
ns2/example3.db ns2/example.db
cp
-f
ns2/example3.db ns2/example.db
sleep
6
if
[
-f
ns3/named.pid
]
;
then
...
...
@@ -118,7 +118,7 @@ if [ -f ns2/named.pid ]; then
status
=
1
fi
cp
ns2/example4.db ns2/example.db
cp
-f
ns2/example4.db ns2/example.db
sleep
6
(
cd
ns2
;
$NAMED
-c
named.conf
-d
99
-g
>>
named.run 2>&1 &
)
sleep
60
...
...
bin/tests/system/upforwd/setup.sh
View file @
fa7ee558
...
...
@@ -15,7 +15,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: setup.sh,v 1.
5
2004/03/0
5
0
5
:0
3:24
marka Exp $
# $Id: setup.sh,v 1.
6
2004/03/
1
0 0
1
:0
6:05
marka Exp $
cp
ns1/example1.db ns1/example.db
cp
-f
ns1/example1.db ns1/example.db
rm
-f
ns1/example.db.jnl ns2/example.bk ns2/example.bk.jnl
bin/tests/system/views/clean.sh
View file @
fa7ee558
...
...
@@ -15,11 +15,12 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: clean.sh,v 1.
8
2004/03/0
5
0
5
:0
3:43
marka Exp $
# $Id: clean.sh,v 1.
9
2004/03/
1
0 0
1
:0
6:06
marka Exp $
#
# Clean up after zone transfer tests.
#
rm
-f
ns3/example.bk dig.out.ns2 dig.out.ns3
rm
-f
ns2/named.conf ns2/example.db ns3/named.conf ns3/internal.bk
bin/tests/system/views/setup.sh
View file @
fa7ee558
...
...
@@ -15,9 +15,9 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: setup.sh,v 1.
7
2004/03/0
5
0
5
:0
3:43
marka Exp $
# $Id: setup.sh,v 1.
8
2004/03/
1
0 0
1
:0
6:06
marka Exp $
cp
ns2/example1.db ns2/example.db
cp
ns2/named1.conf ns2/named.conf
cp
ns3/named1.conf ns3/named.conf
cp
-f
ns2/example1.db ns2/example.db
cp
-f
ns2/named1.conf ns2/named.conf
cp
-f
ns3/named1.conf ns3/named.conf
bin/tests/system/views/tests.sh
View file @
fa7ee558
...
...
@@ -15,7 +15,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: tests.sh,v 1.2
7
2004/03/0
5
0
5
:0
3:43
marka Exp $
# $Id: tests.sh,v 1.2
8
2004/03/
1
0 0
1
:0
6:06
marka Exp $
SYSTEMTESTTOP
=
..
.
$SYSTEMTESTTOP
/conf.sh
...
...
@@ -34,9 +34,9 @@ grep ";" dig.out.ns3.1 # XXXDCL why is this here?
echo
"I:copying in new configurations for ns2 and ns3"
rm
-f
ns2/named.conf ns3/named.conf ns2/example.db
cp
ns2/named2.conf ns2/named.conf
cp
ns3/named2.conf ns3/named.conf
cp
ns2/example2.db ns2/example.db
cp
-f
ns2/named2.conf ns2/named.conf
cp
-f
ns3/named2.conf ns3/named.conf
cp
-f
ns2/example2.db ns2/example.db
echo
"I:reloading ns2 and ns3 with rndc"
$RNDC
-c
../common/rndc.conf
-s
10.53.0.2
-p
9953 reload 2>&1 |
sed
's/^/I:ns2 /'
...
...
bin/tests/system/xferquota/clean.sh
View file @
fa7ee558
...
...
@@ -15,7 +15,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: clean.sh,v 1.
9
2004/03/0
5
0
5
:0
4
:0
3
marka Exp $
# $Id: clean.sh,v 1.
10
2004/03/
1
0 0
1
:0
6
:0
6
marka Exp $
#
# Clean up after zone transfer quota tests.
...
...
@@ -23,5 +23,4 @@
rm
-f
ns1/zone
*
.example.db ns1/zones.conf
rm
-f
ns2/zone
*
.example.bk ns2/zones.conf
rm
-f
dig.out.
*
rm
-f
dig.out.
*
ns2/changing.bk
bin/tests/system/xferquota/setup.sh
View file @
fa7ee558
...
...
@@ -15,7 +15,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: setup.sh,v 1.1
2
2004/03/0
5
0
5
:0
4
:0
4
marka Exp $
# $Id: setup.sh,v 1.1
3
2004/03/
1
0 0
1
:0
6
:0
6
marka Exp $
#
# Set up test data for zone transfer quota tests.
...
...
@@ -23,4 +23,4 @@
$PERL
setup.pl
cp
ns1/changing1.db ns1/changing.db
cp
-f
ns1/changing1.db ns1/changing.db
bin/tests/system/xferquota/tests.sh
View file @
fa7ee558
...
...
@@ -15,7 +15,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: tests.sh,v 1.2
1
2004/03/0
5
0
5
:0
4
:0
4
marka Exp $
# $Id: tests.sh,v 1.2
2
2004/03/
1
0 0
1
:0
6
:0
6
marka Exp $
SYSTEMTESTTOP
=
..
.
$SYSTEMTESTTOP
/conf.sh
...
...
@@ -29,7 +29,7 @@ ticks=0
while
[
$count
!=
300
]
;
do
if
[
$ticks
=
1
]
;
then
echo
"I:Changing test zone..."
cp
ns1/changing2.db ns1/changing.db
cp
-f
ns1/changing2.db ns1/changing.db
kill
-HUP
`
cat
ns1/named.pid
`
fi
sleep
1
...
...
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