mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
Run the sfcache system tests with set -e
enabled
This commit is contained in:
@@ -9,6 +9,8 @@
|
|||||||
# See the COPYRIGHT file distributed with this work for additional
|
# See the COPYRIGHT file distributed with this work for additional
|
||||||
# information regarding copyright ownership.
|
# information regarding copyright ownership.
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
rm -f ./*/K*.key ./*/K*.private ./*/*.signed ./*/*.db ./*/dsset-*
|
rm -f ./*/K*.key ./*/K*.private ./*/*.signed ./*/*.db ./*/dsset-*
|
||||||
rm -f ./*/managed.conf ./*/trusted.conf
|
rm -f ./*/managed.conf ./*/trusted.conf
|
||||||
rm -f ./*/named.memstats
|
rm -f ./*/named.memstats
|
||||||
|
@@ -12,6 +12,8 @@
|
|||||||
# shellcheck source=conf.sh
|
# shellcheck source=conf.sh
|
||||||
. "$SYSTEMTESTTOP/conf.sh"
|
. "$SYSTEMTESTTOP/conf.sh"
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
zone=.
|
zone=.
|
||||||
infile=root.db.in
|
infile=root.db.in
|
||||||
zonefile=root.db
|
zonefile=root.db
|
||||||
|
@@ -12,6 +12,8 @@
|
|||||||
# shellcheck source=conf.sh
|
# shellcheck source=conf.sh
|
||||||
. "$SYSTEMTESTTOP/conf.sh"
|
. "$SYSTEMTESTTOP/conf.sh"
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
zone=example.
|
zone=example.
|
||||||
infile=example.db.in
|
infile=example.db.in
|
||||||
zonefile=example.db
|
zonefile=example.db
|
||||||
|
@@ -12,6 +12,8 @@
|
|||||||
# shellcheck source=conf.sh
|
# shellcheck source=conf.sh
|
||||||
. "$SYSTEMTESTTOP/conf.sh"
|
. "$SYSTEMTESTTOP/conf.sh"
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
keyname=$("$KEYGEN" -q -a "$DEFAULT_ALGORITHM" -b "$DEFAULT_BITS" -n zone ".")
|
keyname=$("$KEYGEN" -q -a "$DEFAULT_ALGORITHM" -b "$DEFAULT_BITS" -n zone ".")
|
||||||
|
|
||||||
keyfile_to_trusted_keys "$keyname" > trusted.conf
|
keyfile_to_trusted_keys "$keyname" > trusted.conf
|
||||||
|
@@ -12,6 +12,8 @@
|
|||||||
# shellcheck source=conf.sh
|
# shellcheck source=conf.sh
|
||||||
. "$SYSTEMTESTTOP/conf.sh"
|
. "$SYSTEMTESTTOP/conf.sh"
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
$SHELL clean.sh
|
$SHELL clean.sh
|
||||||
|
|
||||||
copy_setports ns1/named.conf.in ns1/named.conf
|
copy_setports ns1/named.conf.in ns1/named.conf
|
||||||
|
@@ -12,6 +12,8 @@
|
|||||||
# shellcheck source=conf.sh
|
# shellcheck source=conf.sh
|
||||||
. "$SYSTEMTESTTOP/conf.sh"
|
. "$SYSTEMTESTTOP/conf.sh"
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
status=0
|
status=0
|
||||||
n=0
|
n=0
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user