]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: test: Fix the nslookup system test
authorArаm Sаrgsyаn <aram@isc.org>
Wed, 27 Nov 2024 13:34:29 +0000 (13:34 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Wed, 27 Nov 2024 13:34:29 +0000 (13:34 +0000)
The nslookup system test checks the count of resolved addresses in
the CNAME tests using a 'grep' match on the hostname, and ignoring
lines containing the 'canonical name' string. In order to protect
the check from intermittent failures like the 'address in use' warning
message, which then automatically resolves after a retry, edit the
'grep' matching string to also ignore the comments (as the mentioned
warning message is a comment which contains the hostname).

Closes #4948

Merge branch '4948-nslookup-test-fix' into 'main'

See merge request isc-projects/bind9!9523


Trivial merge