2
0
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:
Ondřej Surý
2018-12-06 11:09:25 +01:00
parent f566010717
commit e1bf5624fb
6 changed files with 12 additions and 0 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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