]> git.ipfire.org Git - thirdparty/bind9.git/commit
Test command line tools without stdio fds
authorPetr Špaček <pspacek@isc.org>
Tue, 1 Jul 2025 09:12:15 +0000 (11:12 +0200)
committerOndřej Surý <ondrej@isc.org>
Thu, 28 Aug 2025 06:16:06 +0000 (08:16 +0200)
commite415c5c996a3b408eb1064bd86048522897fc811
tree9d160639ccc4da97f559577e48f3b0c4163d7fb3
parent5cfdbeba72092e3e5f48f4b071084585efc5219f
Test command line tools without stdio fds

Testing all combinations seems unnecessary but is cheap.
I was too lazy to run this against all tools we have. nsupdate was
chosen because it is one of few tools which actually use stdin and the
original issue was reproducible even without any network communication,
which was not the case for simple dig invocation.

Sorry for new shell test but doing this in Python seemed very
complicated and fragile.
bin/tests/system/tools/tests.sh [new file with mode: 0644]
bin/tests/system/tools/tests_sh_tools.py [new file with mode: 0644]