]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add a common setup script for ksr
authorMatthijs Mekking <matthijs@isc.org>
Tue, 7 May 2024 09:53:07 +0000 (11:53 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Thu, 22 Aug 2024 06:21:52 +0000 (08:21 +0200)
The previous setup.sh has been moved to ns1/setup.sh, we need a common
setup script to invoke ns1/setup.sh.

bin/tests/system/ksr/setup.sh [new file with mode: 0644]

diff --git a/bin/tests/system/ksr/setup.sh b/bin/tests/system/ksr/setup.sh
new file mode 100644 (file)
index 0000000..2cfad07
--- /dev/null
@@ -0,0 +1,26 @@
+#!/bin/sh -e
+
+# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
+#
+# SPDX-License-Identifier: MPL-2.0
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0.  If a copy of the MPL was not distributed with this
+# file, you can obtain one at https://mozilla.org/MPL/2.0/.
+#
+# See the COPYRIGHT file distributed with this work for additional
+# information regarding copyright ownership.
+
+# shellcheck source=conf.sh
+. ../conf.sh
+
+set -e
+
+$SHELL clean.sh
+
+copy_setports ns1/named.conf.in ns1/named.conf
+
+(
+  cd ns1
+  $SHELL setup.sh
+)