]> git.ipfire.org Git - thirdparty/bind9.git/commit
Determine "rpz" system test mode based on $mode rather than $DNSRPS_TEST_MODE
authorMichał Kępień <michal@isc.org>
Tue, 26 Jun 2018 10:19:41 +0000 (12:19 +0200)
committerMichał Kępień <michal@isc.org>
Tue, 26 Jun 2018 10:19:41 +0000 (12:19 +0200)
commit730c6651a0f01e82325cdedfba770475d77b2fd8
tree8d5b61e920c80133dba2f4257141e26603ac1537
parentdc2c707a9826d1fe5e9fe0179d17ae12c9de69ce
Determine "rpz" system test mode based on $mode rather than $DNSRPS_TEST_MODE

Change 4897 modified the way the $DNSRPS_TEST_MODE variable is used in
bin/tests/system/rpz/tests.sh without updating all references to it,
which i.a. causes the $native and $dnsrps variables to not be set in the
default testing mode, effectively preventing failed checks from being
propagated to the final result of the test.  Use $mode instead of
$DNSRPS_TEST_MODE where appropriate to fix error handling in the "rpz"
system test.
bin/tests/system/rpz/tests.sh