xref: /netbsd-src/external/mpl/bind/dist/bin/tests/system/kasp/ns5/setup.sh (revision e670fd5c413e99c2f6a37901bb21c537fcd322d2)
1#!/bin/sh -e
2#
3# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
4#
5# This Source Code Form is subject to the terms of the Mozilla Public
6# License, v. 2.0. If a copy of the MPL was not distributed with this
7# file, you can obtain one at https://mozilla.org/MPL/2.0/.
8#
9# See the COPYRIGHT file distributed with this work for additional
10# information regarding copyright ownership.
11
12# shellcheck source=conf.sh
13. "$SYSTEMTESTTOP/conf.sh"
14
15echo_i "ns5/setup.sh"
16
17#
18# Set up zones that potentially will be initially signed.
19#
20for zn in inherit.inherit override.inherit none.inherit \
21	  inherit.override override.override none.override \
22	  inherit.none override.none none.none
23do
24	zone="$zn.unsigned"
25	echo_i "setting up zone: $zone"
26	zonefile="${zone}.db"
27	cp template.db.in $zonefile
28done
29