]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Run the sfcache system tests with `set -e` enabled
authorOndřej Surý <ondrej@sury.org>
Thu, 6 Dec 2018 10:09:25 +0000 (11:09 +0100)
committerOndřej Surý <ondrej@sury.org>
Tue, 11 Dec 2018 08:27:16 +0000 (09:27 +0100)
bin/tests/system/sfcache/clean.sh
bin/tests/system/sfcache/ns1/sign.sh
bin/tests/system/sfcache/ns2/sign.sh
bin/tests/system/sfcache/ns5/sign.sh
bin/tests/system/sfcache/setup.sh
bin/tests/system/sfcache/tests.sh

index 0881d42c581b14932b33ea567af7bcab5e2d6f2a..51939e98b04d6bfc50a7f2e35f6ea3b483842c31 100644 (file)
@@ -9,6 +9,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 rm -f ./*/K*.key ./*/K*.private ./*/*.signed ./*/*.db ./*/dsset-*
 rm -f ./*/managed.conf ./*/trusted.conf
 rm -f ./*/named.memstats
index 59653ed06325b28a6b26171e3414f699492b122b..f448ecca8674971934622f8d2c55c278a43cfec9 100644 (file)
@@ -12,6 +12,8 @@
 # shellcheck source=conf.sh
 . "$SYSTEMTESTTOP/conf.sh"
 
+set -e
+
 zone=.
 infile=root.db.in
 zonefile=root.db
index 9ef7aaae2cc0fc3e8482a39823d42ef06e61250f..11f866abb273f556f5570aa39baee46da9d86ffd 100644 (file)
@@ -12,6 +12,8 @@
 # shellcheck source=conf.sh
 . "$SYSTEMTESTTOP/conf.sh"
 
+set -e
+
 zone=example.
 infile=example.db.in
 zonefile=example.db
index 04749e78be814e772ecfde0c2a942590f821be08..9dcd9fe732abf5868530374050d5f886b7c2bec2 100644 (file)
@@ -12,6 +12,8 @@
 # shellcheck source=conf.sh
 . "$SYSTEMTESTTOP/conf.sh"
 
+set -e
+
 keyname=$("$KEYGEN" -q -a "$DEFAULT_ALGORITHM" -b "$DEFAULT_BITS" -n zone ".")
 
 keyfile_to_trusted_keys "$keyname" > trusted.conf
index b5adf28f36ef9b2906fb0f13dcd2d3a5362ec292..14235a466c479346a9132240c0fa22931f0ce275 100644 (file)
@@ -12,6 +12,8 @@
 # shellcheck source=conf.sh
 . "$SYSTEMTESTTOP/conf.sh"
 
+set -e
+
 $SHELL clean.sh
 
 copy_setports ns1/named.conf.in ns1/named.conf
index e20639c8b0149c4ff2cb2a6697ebaafc383cc57d..43922e4e83670bfa4651357cca8b9d727c32238e 100644 (file)
@@ -12,6 +12,8 @@
 # shellcheck source=conf.sh
 . "$SYSTEMTESTTOP/conf.sh"
 
+set -e
+
 status=0
 n=0