]> 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)
committerEvan Hunt <each@isc.org>
Tue, 10 Dec 2024 00:09:12 +0000 (16:09 -0800)
commitc44c4fcbfbc65ffc8226c461b172c2bef83872f8
treea81b41f8b5d9f02e2ecccd6fb2f80dbf023941cd
parenteb78ad20803b28f1a5ede52115ad6bd73cfeb843
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.
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]