xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/inline/setup.sh (revision eceb233b9bd0dfebb902ed73b531ae6964fa3f9b)
1# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
2#
3# This Source Code Form is subject to the terms of the Mozilla Public
4# License, v. 2.0. If a copy of the MPL was not distributed with this
5# file, You can obtain one at http://mozilla.org/MPL/2.0/.
6#
7# See the COPYRIGHT file distributed with this work for additional
8# information regarding copyright ownership.
9
10SYSTEMTESTTOP=..
11. $SYSTEMTESTTOP/conf.sh
12
13cp ns1/root.db.in ns1/root.db
14
15touch ns2/trusted.conf
16cp ns2/nsec3-loop.db.in ns2/nsec3-loop.db
17cp ns2/bits.db.in ns2/bits.db
18cp ns2/bits.db.in ns2/inactiveksk.db
19cp ns2/bits.db.in ns2/inactivezsk.db
20cp ns2/bits.db.in ns2/nokeys.db
21cp ns2/bits.db.in ns2/removedkeys-secondary.db
22cp ns2/bits.db.in ns2/retransfer.db
23cp ns2/bits.db.in ns2/retransfer3.db
24
25cp ns3/master.db.in ns3/master.db
26cp ns3/master.db.in ns3/dynamic.db
27cp ns3/master.db.in ns3/updated.db
28cp ns3/master.db.in ns3/unsupported.db
29cp ns3/master.db.in ns3/expired.db
30cp ns3/master.db.in ns3/nsec3.db
31cp ns3/master.db.in ns3/externalkey.db
32cp ns3/master.db.in ns3/delayedkeys.db
33cp ns3/master.db.in ns3/removedkeys-primary.db
34
35mkdir ns3/removedkeys
36
37touch ns4/trusted.conf
38cp ns4/noixfr.db.in ns4/noixfr.db
39
40copy_setports ns1/named.conf.in ns1/named.conf
41copy_setports ns2/named.conf.in ns2/named.conf
42copy_setports ns3/named.conf.in ns3/named.conf
43copy_setports ns4/named.conf.in ns4/named.conf
44copy_setports ns5/named.conf.pre ns5/named.conf
45copy_setports ns6/named.conf.in ns6/named.conf
46copy_setports ns7/named.conf.in ns7/named.conf
47copy_setports ns8/named.conf.in ns8/named.conf
48
49(cd ns3; $SHELL -e sign.sh)
50(cd ns1; $SHELL -e sign.sh)
51(cd ns7; $SHELL -e sign.sh)
52(cd ns8; $SHELL -e sign.sh)
53