]> git.ipfire.org Git - thirdparty/bind9.git/commit
Update nsupdate test
authorMatthijs Mekking <matthijs@isc.org>
Fri, 30 Apr 2021 09:03:46 +0000 (11:03 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Fri, 30 Apr 2021 12:30:51 +0000 (14:30 +0200)
commit5d899d0d9906f9d325665ae60a70cf3abf95166e
treea4031eeaf45b194ffc094f16b5c9c5583628b160
parentf2ff6fcc478fa00b50cac32efa8f2345cadf97ad
Update nsupdate test

The nsupdate system test did not record failures from the
'update_test.pl' Perl script. This was because the 'ret' value was
not being saved outside the '{ $PERL ... || ret=1 } cat_i' scope.

Change this piece to store the output in a separate file and then
cat its contents. Now the 'ret' value is being saved.

Also record failures in 'update_test.pl' if sending the update
failed.

Add missing 'n' incrementals to 'nsupdate/test.sh' to keep track of
test numbers.

(cherry picked from commit 5b31811b5f15c7677a3f1a65b8dcc23d4a55f3d4)
bin/tests/system/nsupdate/clean.sh
bin/tests/system/nsupdate/tests.sh
bin/tests/system/nsupdate/update_test.pl