]> git.ipfire.org Git - thirdparty/bind9.git/commit
The system tests are using another IP address
authorTony Finch <fanf@isc.org>
Wed, 31 Aug 2022 20:09:06 +0000 (21:09 +0100)
committerTony Finch <fanf@isc.org>
Mon, 12 Sep 2022 11:13:04 +0000 (12:13 +0100)
commit258a896a0cf9b26be64f80c3b9fba7b0d5d43f50
tree12d2d00d2a490ae7c311965a0918555ae9142304
parenteb68baffd9f0293dde3ef23b6fba2ae2263c6e85
The system tests are using another IP address

Reduce the number of places that know about the number of IP addresses
required by the system tests, by changing `testsock.pl` to read the
`max` from `ifconfig.sh.in`. This should make the test runner fail
early with a clear message when the interfaces have been set up by an
obsolete script.

Add comments to cross-reference `ifconfig.sh.in`, `testsock.pl`, and
`org.isc.bind.system` to make it easier to remember what needs
updating when an IP address is added.
bin/tests/system/ifconfig.sh.in
bin/tests/system/org.isc.bind.system
bin/tests/system/testsock.pl