]> git.ipfire.org Git - thirdparty/bind9.git/commit
Extend resconf_test
authorMark Andrews <marka@isc.org>
Mon, 9 Dec 2024 02:04:05 +0000 (13:04 +1100)
committerMark Andrews <marka@isc.org>
Tue, 10 Dec 2024 03:01:23 +0000 (14:01 +1100)
commitea43609f45d1016edab8bf2e2e7377105daf3196
tree32b931ae48e7f4265a80951a581005a2928d5f80
parent841269601c72af740901768ea4732e484ef41df7
Extend resconf_test

Update to the new unit test framework.

Add a test for an unknown directive without any arguments.

Add test for an unknown directive without arguments, followed
by a search directive.

(cherry picked from commit c44c4fcbfbc65ffc8226c461b172c2bef83872f8)
tests/irs/Makefile.am
tests/irs/resconf_test.c
tests/irs/testdata/unknown+search.conf [new file with mode: 0644]
tests/irs/testdata/unknown-with-value.conf [moved from tests/irs/testdata/unknown.conf with 100% similarity]
tests/irs/testdata/unknown-without-value.conf [new file with mode: 0644]