]> 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>
Wed, 14 Sep 2022 10:49:43 +0000 (11:49 +0100)
commitde747f9b6bea8bd0bc219f470e7ab648219ce36b
treeee57ac167e6d721f4800d01523ac3c0cc74e9b48
parentdb830aa8aa9cbda9956c2fac871316b8fff37967
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.

(cherry picked from commit 258a896a0cf9b26be64f80c3b9fba7b0d5d43f50)
bin/tests/system/ifconfig.sh.in
bin/tests/system/org.isc.bind.system
bin/tests/system/testsock.pl