]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Run system tests with set -e
authorTom Krizek <tkrizek@isc.org>
Wed, 7 Jun 2023 13:35:57 +0000 (15:35 +0200)
committerTom Krizek <tkrizek@isc.org>
Fri, 14 Jul 2023 13:07:25 +0000 (15:07 +0200)
Ensure all shell system tests are executed with the errexit option set.
This prevents unchecked return codes from commands in the test from
interfering with the tests, since any failures need to be handled
explicitly.

97 files changed:
bin/tests/system/acl/tests.sh
bin/tests/system/additional/tests.sh
bin/tests/system/addzone/tests.sh
bin/tests/system/allow-query/tests.sh
bin/tests/system/auth/tests.sh
bin/tests/system/autosign/tests.sh
bin/tests/system/builtin/tests.sh
bin/tests/system/cacheclean/tests.sh
bin/tests/system/case/tests.sh
bin/tests/system/cds/tests.sh
bin/tests/system/chain/tests.sh
bin/tests/system/checkconf/tests.sh
bin/tests/system/checknames/tests.sh
bin/tests/system/checkzone/tests.sh
bin/tests/system/cookie/tests.sh
bin/tests/system/database/tests.sh
bin/tests/system/dialup/tests.sh
bin/tests/system/digdelv/tests.sh
bin/tests/system/dlzexternal/tests.sh
bin/tests/system/dns64/tests.sh
bin/tests/system/dnssec/tests.sh
bin/tests/system/dnstap/tests.sh
bin/tests/system/doth/tests.sh
bin/tests/system/dsdigest/tests.sh
bin/tests/system/dupsigs/tests.sh
bin/tests/system/dyndb/tests.sh
bin/tests/system/ednscompliance/tests.sh
bin/tests/system/emptyzones/tests.sh
bin/tests/system/enginepkcs11/tests.sh
bin/tests/system/fetchlimit/tests.sh
bin/tests/system/filter-aaaa/tests.sh
bin/tests/system/formerr/tests.sh
bin/tests/system/forward/tests.sh
bin/tests/system/geoip2/tests.sh
bin/tests/system/glue/tests.sh
bin/tests/system/idna/tests.sh
bin/tests/system/include-multiplecfg/tests.sh
bin/tests/system/inline/tests.sh
bin/tests/system/integrity/tests.sh
bin/tests/system/ixfr/tests.sh
bin/tests/system/journal/tests.sh
bin/tests/system/kasp/tests.sh
bin/tests/system/keepalive/tests.sh
bin/tests/system/keyfromlabel/tests.sh
bin/tests/system/keymgr2kasp/tests.sh
bin/tests/system/legacy/tests.sh
bin/tests/system/limits/tests.sh
bin/tests/system/logfileconfig/tests.sh
bin/tests/system/masterfile/tests.sh
bin/tests/system/masterformat/tests.sh
bin/tests/system/metadata/tests.sh
bin/tests/system/mirror/tests.sh
bin/tests/system/multisigner/tests.sh
bin/tests/system/names/tests.sh
bin/tests/system/notify/tests.sh
bin/tests/system/nsec3/tests.sh
bin/tests/system/nslookup/tests.sh
bin/tests/system/nsupdate/tests.sh
bin/tests/system/nzd2nzf/tests.sh
bin/tests/system/padding/tests.sh
bin/tests/system/pending/tests.sh
bin/tests/system/pipelined/tests.sh
bin/tests/system/qmin/tests.sh
bin/tests/system/reclimit/tests.sh
bin/tests/system/redirect/tests.sh
bin/tests/system/resolver/tests.sh
bin/tests/system/rndc/tests.sh
bin/tests/system/rootkeysentinel/tests.sh
bin/tests/system/rpz/tests.sh
bin/tests/system/rpzrecurse/tests.sh
bin/tests/system/rrchecker/tests.sh
bin/tests/system/rrl/tests.sh
bin/tests/system/rrsetorder/tests.sh
bin/tests/system/rsabigexponent/tests.sh
bin/tests/system/runtime/tests.sh
bin/tests/system/serve-stale/tests.sh
bin/tests/system/sfcache/tests.sh
bin/tests/system/smartsign/tests.sh
bin/tests/system/sortlist/tests.sh
bin/tests/system/spf/tests.sh
bin/tests/system/staticstub/tests.sh
bin/tests/system/statistics/tests.sh
bin/tests/system/statschannel/tests.sh
bin/tests/system/stress/tests.sh
bin/tests/system/stub/tests.sh
bin/tests/system/synthfromdnssec/tests.sh
bin/tests/system/transport-acl/tests.sh
bin/tests/system/tsig/tests.sh
bin/tests/system/tsiggss/tests.sh
bin/tests/system/unknown/tests.sh
bin/tests/system/upforwd/tests.sh
bin/tests/system/verify/tests.sh
bin/tests/system/wildcard/tests.sh
bin/tests/system/xfer/tests.sh
bin/tests/system/xferquota/tests.sh
bin/tests/system/zero/tests.sh
bin/tests/system/zonechecks/tests.sh

index 0984d85ed9a6efa279b511047fe5d4d2ce736a25..f4e8d7c82f551bf420dd824a3e639da290ba118d 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="+tcp +noadd +nosea +nostat +noquest +nocomm +nocmd -p ${PORT}"
index 6cede72372e0c81f399812859bef3652351ebb5b..d42b143cb6695c6031e85ebbdf5e9fbb7fb6310f 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="-p ${PORT}"
index e626c5cd9e019f22817e109ba2c50bed0b61d2ea..d50829929e2ecce96ffe986d23c7e9585b264360 100755 (executable)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="+tcp +nosea +nostat +nocmd +norec +noques +noauth +noadd +nostats +dnssec -p ${PORT}"
index 74a372e79f62c34149aa37789a5ce2f9d260d691..b69b15f02d31949c7808f7b16d7276a541e78263 100644 (file)
@@ -52,6 +52,8 @@
 # and querying as necessary.
 #
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="+tcp +nosea +nostat +nocmd +norec +noques +noauth +noadd +nostats +dnssec -p ${PORT}"
index b67752279bc31f88ef6cbc246224f3da22023dea..d3fb104eef85b0c9d564c8b401bdfaa8a1093662 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="+tcp -p ${PORT}"
index d490adb381f4cc07252ba259c69bcf28dae3a1c0..36dbd26ff857fd36a3506e8d3ba893c65d88874c 100755 (executable)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 status=0
index 898fd522e9ff3e8eaec3e2d0f38738228c4b8cbf..bb4ee47d2ff6af6d800abbf143ca1977344eccf3 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="-p ${PORT}"
index 1192dd97d770b16dcff829a53999043cf6b8b0d6..cbb36ccf89cdf1e0efb956ae70407aab29e266f0 100755 (executable)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 status=0
index 2e9dc7d729ebe34dbdfb7f7b9e8e179f21a58433..b17eaef9e4853e3a698d7b619dc8e715334e9126 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="+tcp +nosea +nostat +noquest +nocomm +nocmd -p ${PORT}"
index 49a428b8db7c09fdc686b756aa689277a6c10d3a..312197ace51d36539e242ec9417c6a97ba60a886 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 status=0
index bbfb3ea3c50237d21d975026e171786b6df8a333..c8bd8b017a8ed50869b6a823a719f6f6a64fb2e4 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="-p ${PORT}"
index 6baf65bff0bf025a84d292f323799a6275f20c85..0c7e583d6bed019700f0c88c48c00a48e59d5b29 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 status=0
index 085e228b9eebe71221a84ad3847460526bb31403..f4f87969a62ff2c627b547f1db006cee6d5cfcf6 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 status=0
index 9d575ee6d927390c3c1215dd9ec7420ea379d028..169e411c9e910f864898ae31c491c670e39e6211 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 status=0
index 9eeb3243e42962b47b88eed53b1e08ceff43e993..fff1b5588009281296f0c7deb93dafc0474a1498 100755 (executable)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="-p ${PORT}"
index bb77de732921e2b043152072f4d5c606ba185199..5c1f8676d1d11ccab369abebef677709c5811612 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 status=0
index 3a8f5e89806c5e5a331678b38b3a79f6daf56a40..c578f0fd4e57443aa5f58dc0070abc25ead6f1fe 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 status=0
index eb551f98b926f8e275b7c43cbb189cd46a7729f9..9a392d377d204620404cec11a66630aaf6a69822 100644 (file)
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 # shellcheck source=conf.sh
 . ../conf.sh
 
-set -e
-
 status=0
 n=0
 
index 9fd1ebe179ee50494c14bad0bf448bc6df93a71c..a290bef5774c64f40227e7f695827a8b307c48bf 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 status=0
index e878c77ea556878b12d6fff70e85fc25adaead7c..b47aa0b004ff35c7beee9924218f4dd958e12fef 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 status=0
index bb04e363260d96d48d969532097dbd9f361778aa..5e272ac1aceb1489fda8ee236f70eb3ab84c4be9 100644 (file)
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 # shellcheck source=conf.sh
 . ../conf.sh
 
-set -e
-
 status=0
 n=1
 
index 5936657d5a38397aa0da15a5ead3c128c91b4414..f50f0fb839908b3f6686b27c5bd7aa760ae97c66 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="+short -p ${PORT}"
index eb631319c95f54c6d58f1d9cfc46f26eab158b15..59908ce4c39e6e24fa86adaa37790bcd392b5c02 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 # shellcheck disable=SC1091
 . ../conf.sh
 
index bcf8491f0811a92d98cf099757e36881c4d973a9..0a1aab6a5a3c3c862068b24ff5bb0635ae858f77 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 status=0
index 29d2ab7d33a74f4834d579c7bc18c54e33f12e86..5d44d53d502cc696cf20116fe29a72b26de9a16a 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 status=0
index 31bb2207826f3069d313f38ce72291c4d4e3ec2d..5b761e560d20e6e3ec8228e5f527cf673fa002a6 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 status=0
index 6bd7dafcda685ff27d470caf0d9a09310a5e941d..21cc2fe20819e4b26be3d5dd0904f5490a1b32ee 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="+norec -p ${PORT}"
index bda0bf87fc7beba9da4db3476e6df738b120d143..ac4d02aada5c8646c31bfcaecd3d9f52e0ee0223 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="-p ${PORT}"
index 256ae2eef358c3be7230afe0cca2f4e4fc192ee6..f8f0317d9b7b2c33b4ce3cdf9156811966d0ef9f 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 # shellcheck source=conf.sh
 . ../conf.sh
 
index 4bf0f6fb0c7c47c16877965ed470183a8dea23c7..edb1ba185fcf1998515bc8842f584bd020cbff7b 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGCMD="$DIG @10.53.0.3 -p ${PORT} +tcp +tries=1 +time=1"
index 93e4ad9b50fdcdd94f74afb50d091a34ca145579..1e4f810712bf9f7f5857c5cf49a2e1311c6d2840 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 status=0
index 870594b69c04cdf0e9ea7b23419d36a354f1bda3..0d9a74fb4d0609d210a47c963d4d5ec3e31fd3c2 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 status=0
index 1f143e558a13c0f06b06790ea16cd0e028a245e1..48c461ab80e7e80830d065b911d9c57bac81f07e 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 #shellcheck source=conf.sh
 . ../conf.sh
 
index 516f9bbf2442b259bdde830806bb7254b1d5fc3c..58edfb9fe12734a30a10cdd29174d6df74344cd1 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 status=0
index 4d750b04bedc2a7eac7bf6961f9f31376f74cd5c..49983fbfdbc1c72d1ce608d4815dd708d6667c2d 100644 (file)
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
-. ../conf.sh
-
 set -e
 
+. ../conf.sh
+
 dig_with_opts() {
        "$DIG" +norec -p "${PORT}" "$@"
 }
index f73da79215cb5833f6409f6f745b8e611697dbd4..594cb053b4da33352d89916ae104608b0496ce48 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 # Set known locale for the tests
index 34d378576674524486bb2fbd6a66f89f73b10261..cb2f28ef0f683316e218c2644078af94eee83f86 100644 (file)
@@ -13,6 +13,7 @@
 
 # Test of include statement with glob expression.
 
+set -e
 
 . ../conf.sh
 
index 32436b0b5e1a71304476cb49e147533b62679d26..423cfc64fe40e0d21192bbe70bb21a5988abedbf 100755 (executable)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="+tcp +dnssec -p ${PORT}"
index 6754dd00f0cda141c039273210970d8428346321..998e04f6816e83ccd36cba3cde7f30fba31db392 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="-p ${PORT}"
index 65d5a48465242c7d365c7017a3a5857d3fe8bd73..3c798bda9d5f900543af7bf36b1a272d5789be5e 100644 (file)
@@ -16,6 +16,8 @@
 #          in the log file - need a better approach <sdm> - until then,
 #          if you add any tests above that point, you will break the test.
 
+set -e
+
 . ../conf.sh
 
 wait_for_serial() (
index f6e0f4d8095943b4f5363c2edb904e2cfe36ff6f..4cdf415185b437eccadd2677a99d5e1f3c41ad34 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 dig_with_opts() {
index 5d383feb51d4c42dc3de31ceb83f18386fc9fd61..e4e4ffe9e28595aabd71883be12bd6cc960a709a 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 # shellcheck source=conf.sh
 . ../conf.sh
 # shellcheck source=kasp.sh
index 124ca24acd65941889557e79d692203d91c742f0..12a1cc0bfc069c0e509d35dfed2e0c9adecf2c79 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="-p ${PORT}"
index c0a3c0aeba328f8243cc7aa60b923f7140892604..5cedbf93d16cbdf3e26a7940fb0d8f15d61971ea 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 # shellcheck source=conf.sh
 . ../conf.sh
 
index 574347e14a148299701743896bb133d7bd742581..6f9caae56462d4d8d79f38675fc00e6b26b5afd1 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 # shellcheck source=conf.sh
 . ../conf.sh
 # shellcheck source=kasp.sh
index 0bddac8a75f70463e46db06c18f1e0b5b56de589..f98323b2fb134933ffcb236755e1e58fc44c8c05 100755 (executable)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="-p ${PORT} +tries=1 +time=2"
index f4149fcb57fe4395dd3eb47b8b31fd7f539836fe..f2cf0fb5bbe04bffd98ae965349e20165e4ef148 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="-p ${PORT}"
index 3abf17540adb60976e241d70805381108234e0b3..fdd9df95ece6171d8e562357199f786a7e211b9c 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 # Test given condition.  If true, test again after a second.  Used for testing
index 6ca4ea5b0a4039d707a0d434c67d5d612b36bfe2..b3ed39944868ef6e48446c8d371a67552932e983 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="-p ${PORT}"
index 7c52bd4c6646917e959704ec43ea385559f9cf64..1bcddd60dec9b5fc0d1c8d501abcdbd501418fa9 100755 (executable)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 # shellcheck source=conf.sh
 . ../conf.sh
 
index e8d442366aa28bd8524e2c3fe56eaaefab6c2335..38141b27a1886de45d4cf250a46add57a65cf2e6 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 pzone=parent.nil pfile=parent.db
index cc4be2d93a7ee7fb347d4626d4c8c818d834e53a..91277a42557c864350b9c4d588b6d4749f62702f 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="-p ${PORT} -b 10.53.0.1 +dnssec +time=2 +tries=1 +multi"
index 1b3d6cbc903330e13ff89742dd28cb6dc6006c0a..3fa4a533988bdbd9aa138d475c4aed85cdb99c28 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 # shellcheck source=conf.sh
 . ../conf.sh
 # shellcheck source=kasp.sh
index d6495707a7ffe0ebf8527037e389bfd9c4b13a94..5e22347a693cc00fa2f75441249c54f0a1499fb5 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="+nosea +stat +noquest +nocomm +nocmd -p ${PORT}"
index 1d62c035dc130767058defd86e6a29a4112c5b45..d2fa8a0ecc250a7c223c38c64d22d783be26e50f 100644 (file)
@@ -11,8 +11,9 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
-# shellcheck disable=SC2034
+set -e
 
+# shellcheck disable=SC2034
 . ../conf.sh
 
 dig_plus_opts() {
index 93a99e0b22da61f860c9d7e674cc54d9395ff181..6b1e84b489de2a9346f4d7144bd29386240a6717 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 # shellcheck source=conf.sh
 . ../conf.sh
 # shellcheck source=kasp.sh
index 1978eb40f304303332dae019201561f03f570862..da11016c569b6e116207721f8396ee8cf6b12d2d 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 # shellcheck disable=SC2086
 . ../conf.sh
 
index c8de7911b28aab37477251a83cac536f0d837449..9fefe34fb0a5f0125cb1fdd88aa55f1b53f8bce1 100755 (executable)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="-p ${PORT}"
index 2d6498d4d5e4616bb15bf21833e1a787b1537ae2..2cfc58f0f161984af2baa97f2fca054d22d8475a 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 dig_with_opts() {
index 9fe2a26305483871279dc57c8e984cf9811f9d11..c09361ac78960d30fee6f19ffbacfc45fd36c2e3 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 n=0
index baaacd4d79734ad2c3b56fdd0ace9dbae9534f66..1e73bc3c5d1229d77e44c80be741fe8fc74afd53 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 # replace_data dname RR old_data new_data
index df89da1b074f5d4dfff18e992db44f4e58ddf6a2..0fc513ba97fe8ce59d029ed7459f70ff8ae22bfc 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 mdig_with_opts() {
index 12d74518fcd80d28221ef579c7a4e6587265e8fa..b8d31285c0d259acdd5fd820bf46c43e2f749a1b 100755 (executable)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="-p ${PORT}"
index de1dacb242165de03d28fd143c195748fde3b06a..429e4aa5c1c4d47d10fb30cab6569da6065b7ac3 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="-p ${PORT}"
index 7201ff239931a8a0ca66526947932cce6aa5537d..8572cc62205d02c27b99833f256202d70135cdf7 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 status=0
index 2af36cc86e783767cbb6f892959aab7481b910ef..89851b2efa8f027cbfc68766f4caf2533e99cadf 100755 (executable)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 # shellcheck source=../conf.sh
 . ../conf.sh
 
index 5eed39e72259fdb454e90394cae13ab6df846366..379a2c176659c856479c95a6a7641da65a6cedfd 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="+tcp +noadd +nosea +nostat +noquest +nocomm +nocmd"
index a3ad7a2239614c445adadc566c458692caa07a44..ecc1b3ea06ad00e0a1a191ef480359b23d5ceb01 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 status=0
index bb03c1438e5492fd134873f3a0104eae27eb0640..cc0f9df6768333b8e9dfc5c15fbe175c993ef744 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 # test response policy zones (RPZ)
 
 # touch dnsrps-off to not test with DNSRPS
index a5802bc0e2de3414b399557f5728ead22027da07..5e06135df6aae062e984ef0ef4f66a052baa7b28 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 # touch dnsrps-off to not test with DNSRPS
 # touch dnsrps-only to not test with classic RPZ
 
index 0e493eb93642c7f3aa9c1b1bfd939b0a28bae21d..67d53ad39eddd2f3e6208f60342f41beaa337c25 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 status=0
index 85636aacf000fecdfae90d6529b8ca12d09872b5..4263f298f596933cd6aa7bde9433064bbb1f32aa 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 # test response rate limiting
 
 . ../conf.sh
index 524efd984f7c58b5bd18255a0bd638424dce3c50..ddd98629edd660983a7d02875fb876a14e2f8c98 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="+nosea +nocomm +nocmd +noquest +noadd +noauth +nocomm +nostat +short +nocookie"
index ca7308a1ce216677c699cab754478fcf4d3e193d..1dedd496f5b8ca1196629a663c1aec7c6c134d3d 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 status=0
index 0920b56342b69cb3d099f5c16a3b94aeff921cab..99650619b1f356651ea62714590237235d662343 100644 (file)
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 # shellcheck source=conf.sh
 . ../conf.sh
 
-set -e
-
 RNDCCMD="$RNDC -c ../common/rndc.conf -p ${CONTROLPORT} -s"
 NAMED_DEFAULT_ARGS="-m record -d 99 -g -U 4"
 
index 47a63117ee3a155722c3450286812ddca184a83b..5a70bee1ef2a9719381151854f05464768468255 100755 (executable)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 RNDCCMD="$RNDC -c ../common/rndc.conf -p ${CONTROLPORT} -s"
index 7f57aa8214dbd37c1b6047fd2eec89ce6a391f7c..d2aeee701f15e3709971b8353b784215d7785dc6 100644 (file)
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 # shellcheck source=conf.sh
 . ../conf.sh
 
-set -e
-
 status=0
 n=0
 
index 9f953d09ca50a0526c095a2851462216d7d56293..1da21bf887fef18bfa05c02033d7eb7b9405260d 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 status=0
index f55cf0abb0ca8b9cfb84adee8c5962768fc3dc9a..894b022a5b794324e5d4bbf9be7751a9e344c1a6 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="+tcp +noadd +nosea +nostat +noquest +noauth +nocomm +nocmd -p ${PORT}"
index 54b3519998a1f053b56b5c98a76472a106c56bae..f60eb0430ae5b1425ad2b51031a9819a5b884f11 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 n=1
index f8096d3a97b6e100bde5c041d63e64e409ac59fb..c2ce332f5ba94d3baa4385ebf29096a2e4247c15 100755 (executable)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="-p ${PORT}"
index 0fc1b6b71d92cb998e64443f43380007f562788f..e39d0b60abec11c997c7b24f9670607a707060d7 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGCMD="$DIG +tcp -p ${PORT}"
index 219f72995fc916fdabd207fbb766d7f43d4cfe9f..aba4a6976b74ddac68cdbb8c6838bfe95c8ec63c 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 # shellcheck source=conf.sh
 . ../conf.sh
 
index 43e373e09ff77f88e0afe72ce829f52ad41c599d..8b5a9627e363756e92e142e645545b3d7e3aaf04 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 status=0
index 78c014ba3e168c59c1f2216320ed96ffddb84166..9a9ca664986ee3c3793aa819a0977c32f443b64d 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="+tcp -p ${PORT}"
index 121e8ad4c91560f3164f34510ca6ab7fdd3a1094..1bfd00bda5929f8480ddfce5ab3f15a870803970 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+# set -e
+#
 # shellcheck source=conf.sh
 . ../conf.sh
 
index 24a30c9168093b0d39a2f5a42d442e40058c6e7b..9bed02b6f14762e97f4d2849f23f02ae2f5be7c4 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 # shellcheck disable=SC1091
 . ../conf.sh
 
index 97912837788c996cc2709615aab02063e4cb110a..68c5b6dc2a99d6293cddbeedc5a81ebafa602103 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="+tcp +nosea +nostat +noquest +nocomm +nocmd -p ${PORT}"
index 41995e1e921dd36834a1bcb969ac467f4acf8fb8..9707e01a2a712a4cb03074f42dfcb02dd1f7719b 100644 (file)
@@ -13,6 +13,8 @@
 
 # tests for TSIG-GSS updates
 
+set -e
+
 . ../conf.sh
 
 # Uncomment to regenerate credential caches after running krb5/setup.sh
index 421fac66efb796071e8f8ae894407a3c51571fd0..2b0be2fb7e07ee082e8be24b438d106627f04b6e 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 status=0
index 7c0e01796c7c3143503aed3997cad40c792e427e..97ea1f5f7b795e2e13c1e1d78eae32c2e25ac9a7 100644 (file)
@@ -15,6 +15,8 @@
 # ns2 = secondary with update forwarding disabled; not currently used
 # ns3 = secondary with update forwarding enabled
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="+tcp +noadd +nosea +nostat +noquest +nocomm +nocmd -p ${PORT}"
index 7f53def1cf2ac8c673b07c0655a48e5e48d4730f..7effa471930218580a840403987a488002e41741 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 failed () {
        cat verify.out.$n | sed 's/^/D:/';
index d2e0bac8c0d0b9730940ba48e0b672722182cff4..16aa712a406490afb423a357d42b381f68fc10c0 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 status=0
index 5891de70ba3a4fdac1fd5c78b1c0dd49548518a5..ed470013f2f0c8edf3a0f4a8730b62ea823367c3 100755 (executable)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="+tcp +noadd +nosea +nostat +noquest +nocomm +nocmd -p ${PORT}"
index e0869aff9006c2ca15a42b1a1bd57f207db8f379..85b6aeb9c5efa1b5e15a3adc1c794b11b1639543 100755 (executable)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="+tcp +noadd +nosea +nostat +noquest +nocomm +nocmd -p ${PORT}"
index 035447b4c8d53d5e5a0eb214785213dba36afe91..f02d4fc4328e6e27bb4c61da0679ac2fce959b04 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 #shellcheck source=conf.sh
 . ../conf.sh
 
index 59b41ccbc1261b4f2fa5ceb6a73446173b322404..909845dd9c2e9174672aedcd29f064d119e6d10c 100644 (file)
@@ -11,6 +11,8 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
+set -e
+
 . ../conf.sh
 
 DIGOPTS="-p ${PORT}"