]> 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:14:57 +0000 (09:14 -0500)
commit8cb51d4c2b79795124b1a9e9e1a08e3008d65260
tree5ce1651d558ff97c6fb33c2bba8e49f489500c98
parentfd0290c9192da1942628c0b556d8faecac3958b1
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.
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