Run the dnssec system tests with set -e enabled

This commit is contained in:
Ondřej Surý
2018-12-06 14:41:14 +01:00
parent ca7cadfa92
commit aeebcb4ae8
10 changed files with 58 additions and 38 deletions

View File

@@ -12,6 +12,8 @@
# shellcheck source=conf.sh
. "$SYSTEMTESTTOP/conf.sh"
set -e
zone=.
infile=../ns1/root.db.in
zonefile=root.db.signed
@@ -26,7 +28,7 @@ keyfile_to_managed_keys "$keyname" > revoked.conf
# create a current set of keys, and sign the root zone
"$KEYGEN" -q -a "$DEFAULT_ALGORITHM" -b "$DEFAULT_BITS" $zone > /dev/null
"$KEYGEN" -q -a "$DEFAULT_ALGORITHM" -b "$DEFAULT_BITS" -f KSK $zone > /dev/null
"$SIGNER" -S -o "$zone" -f "$zonefile" "$infile" > /dev/null
"$SIGNER" -S -o "$zone" -f "$zonefile" "$infile" > /dev/null 2>&1
keyname=$("$KEYGEN" -q -a "$DEFAULT_ALGORITHM" -b "$DEFAULT_BITS" -n zone ".")