]> 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)
committerAram Sargsyan <aram@isc.org>
Thu, 9 Mar 2023 10:40:37 +0000 (10:40 +0000)
commit5ed65ce81f63447485044be9fa6f3e13f7c20d92
tree8e33eb176cef6d9ca7d3728b89f2491ef1bf6f8c
parentd2d55acf6eeb3e59010f53f58d3760da78472bd0
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.

(cherry picked from commit 9672b6be574ed35b18f81a302e4ff21f15e59ee2)
bin/tests/system/doth/tests.sh