]> git.ipfire.org Git - thirdparty/bind9.git/commit
Avoid global namespace pollution
authorMichał Kępień <michal@isc.org>
Fri, 11 Apr 2025 14:14:57 +0000 (09:14 -0500)
committerMichał Kępień <michal@isc.org>
Fri, 11 Apr 2025 14:20:45 +0000 (14:20 +0000)
commitcd640bd9f77e03bd46f9b5a0f30df621630f7535
treec662be2608ec55d2e787d5e3580e19e59821a6d1
parentf919aa7cbb3b904ad95d5c56f0456264b828d3bb
Avoid global namespace pollution

Add a main() function to all custom servers based on isctest.asyncserver
and move server startup code there.  This prevents redefining variables
from outer scope in custom server code as it evolves.

(cherry picked from commit 8cb51d4c2b79795124b1a9e9e1a08e3008d65260)
bin/tests/system/qmin/ans2/ans.py
bin/tests/system/qmin/ans3/ans.py
bin/tests/system/qmin/ans4/ans.py
bin/tests/system/upforwd/ans4/ans.py