]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix the placement of printing dig output comments in doth system test
authorAram Sargsyan <aram@isc.org>
Tue, 7 Mar 2023 14:08:52 +0000 (14:08 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Thu, 9 Mar 2023 10:03:19 +0000 (10:03 +0000)
commit9672b6be574ed35b18f81a302e4ff21f15e59ee2
tree48978b4e3c9de66b1b77ee46a6391dd4d3695375
parent2fdf01573c11ec3cf4105ba15ad42b925dff5cf9
Fix the placement of printing dig output comments in doth system test

There can be comments in dig output for a zone transfer only in case
of an error, so we should print those errors not when wait_for_tls_xfer
succeeds, but when it fails.

Also, there is no point in printing those comments when a failure was
indeed expected.
bin/tests/system/doth/tests.sh