]> git.ipfire.org Git - thirdparty/bind9.git/commit
Ignore dig errors in +short comparisons in tests
authorTom Krizek <tkrizek@isc.org>
Mon, 13 Feb 2023 12:58:47 +0000 (13:58 +0100)
committerTom Krizek <tkrizek@isc.org>
Tue, 14 Feb 2023 12:10:49 +0000 (13:10 +0100)
commitbd1ef66f836c564ce44c5dacd04d73bb4f36db59
tree16fd60effe588a8f9dd8e9bca542182c2b5f9f12
parentf5b77e734a3bbf2541bf55ffaa102423cb0fa419
Ignore dig errors in +short comparisons in tests

Tests using diff to compare outputs of dig +short shall ignore lines
starting with ";". In dig +short output, such lines should only be
present for errors such as network issues. Since we utilize dig's
default timeout/retry mechanisms, these transitory issues should be
ignored and only the final output should be considered during the diff
comparison.
bin/tests/system/inline/tests.sh
bin/tests/system/unknown/tests.sh