]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix the "statschannel" system test on Windows
authorMichał Kępień <michal@isc.org>
Thu, 26 Sep 2019 13:11:15 +0000 (15:11 +0200)
committerMichał Kępień <michal@isc.org>
Fri, 27 Sep 2019 07:16:02 +0000 (09:16 +0200)
commit6ab9726038ad5ea3dc4262140f23d42615be4adc
tree9e1fd8a066caf6cfda1edc571b01019d179ce0c4
parentd20a9284357bbb28f0ae2ada76e4eee58bf07493
Fix the "statschannel" system test on Windows

The SYSTEMTESTTOP variable is set by bin/tests/system/run.sh.  When
system tests are run on Windows, that variable will contain an absolute
Cygwin path.  In the case of the "statschannel" system test, using the
unmodified SYSTEMTESTTOP variable in tests.sh causes the RNDCCMD
variable to contain an invocation of a native Windows application with
an absolute Cygwin path passed as a parameter, which prevents rndc from
working in that system test.  Until we have a cleaner solution, override
SYSTEMTESTTOP with a relative path to work around the issue and thus fix
the "statschannel" system test on Windows.

(cherry picked from commit 4deb2a48d93b5186e958ddd6a8f5ffc80962a5ff)
bin/tests/system/statschannel/tests.sh