]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix PYTHONPATH set for ans.py servers by start.pl
authorMichał Kępień <michal@isc.org>
Tue, 18 Mar 2025 05:19:01 +0000 (06:19 +0100)
committerMichał Kępień <michal@isc.org>
Tue, 18 Mar 2025 05:19:01 +0000 (06:19 +0100)
commita799dd04adc08a062ec9961a026573abcc7c9181
tree4c25cd0718cbe90974783758e90d16dd0f54351d
parent7faa34c6ee40653eeec23ef2df8093564cfc1891
Fix PYTHONPATH set for ans.py servers by start.pl

Commit 6c010a5644324947c8c13b5600cd8d988ae7684f caused the PYTHONPATH
environment variable to be set for ans.py servers started using
start.pl.  However, no system test has actually used the new
isctest.asyncserver module since that change was applied, so it has not
been noticed until now that including the source directory in PYTHONPATH
is only sufficient for in-tree builds.  Include the build directory
instead of the source directory in the PYTHONPATH environment variable
set for ans.py servers started by start.pl so that they work correctly
for both in-tree and out-of-tree builds.
bin/tests/system/start.pl