]> git.ipfire.org Git - thirdparty/bind9.git/commit
Migrate digdelv nslookup/host/nsupdate checks to pytest
authorMartin Basti <mbasti@isc.org>
Wed, 22 Jul 2026 12:27:36 +0000 (12:27 +0000)
committerMartin Basti <mbasti@isc.org>
Wed, 29 Jul 2026 11:51:04 +0000 (13:51 +0200)
commitf2f83a768ca3c90a60af2db6950edcd18d0dbdad
tree98a3bcfe997ceba433befe8e1a26e825220f7e50
parentde7f34fb44b6a823eac98178f0176e47d7f0ff7a
Migrate digdelv nslookup/host/nsupdate checks to pytest

Move the UPDATE-opcode rejection checks for nslookup, host and
nsupdate from tests.sh into a new tests_others.py module, which holds
the checks for the look-up tools other than dig, delv and mdig.  The
new tests assert on the exact stream (stdout or stderr) each tool
prints to, instead of the combined output the shell version grepped.

Assisted-by: Claude:claude-fable-5
bin/tests/system/digdelv/common.py [new file with mode: 0644]
bin/tests/system/digdelv/tests.sh
bin/tests/system/digdelv/tests_others.py [new file with mode: 0644]
bin/tests/system/digdelv/tests_sh_digdelv.py