]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Two more qp test cases
authorMatthijs Mekking <matthijs@isc.org>
Wed, 15 May 2024 10:25:34 +0000 (12:25 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Thu, 16 May 2024 09:49:41 +0000 (09:49 +0000)
Add two more cases that should select different predecessors from
different twigs.

tests/dns/qp_test.c

index 19ffc7f3d984148bf9396074b558e9e0bf238c6c..7206d6c3cffffba2aafa0a82c133d7b24d6b12e8 100644 (file)
@@ -853,6 +853,8 @@ ISC_RUN_TEST_IMPL(fixiterator) {
 
        static struct check_predecessors check1[] = {
                { "newtext.dynamic.", "mx.dynamic.", DNS_R_PARTIALMATCH, 7 },
+               { "nsd.dynamic.", "ns.dynamic.", DNS_R_PARTIALMATCH, 6 },
+               { "nsf.dynamic.", "nsec.dynamic.", DNS_R_PARTIALMATCH, 5 },
                { "d.", "trailing.", ISC_R_NOTFOUND, 0 },
                { "absent.", "trailing.", ISC_R_NOTFOUND, 0 },
                { "nonexistent.", "txt.dynamic.", ISC_R_NOTFOUND, 1 },