From 748d98e387892f73e51e0b64c03b4d0641c8febb Mon Sep 17 00:00:00 2001 From: Matthijs Mekking Date: Tue, 7 May 2024 11:53:07 +0200 Subject: [PATCH] Add a common setup script for ksr 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 | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 bin/tests/system/ksr/setup.sh diff --git a/bin/tests/system/ksr/setup.sh b/bin/tests/system/ksr/setup.sh new file mode 100644 index 0000000000..2cfad07fb1 --- /dev/null +++ b/bin/tests/system/ksr/setup.sh @@ -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 +)