]> 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:41:06 +0000 (13:41 +0100)
commitdf2a962284ee1fa4d8945563912f53e1565e9862
tree560fc2c1702256df1ed879a37e2876aba9f700bc
parentebd49dc67402b1b28c873b82c0aa993576e5e45c
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.

(cherry picked from commit bd1ef66f836c564ce44c5dacd04d73bb4f36db59)
bin/tests/system/inline/tests.sh
bin/tests/system/unknown/tests.sh