]> git.ipfire.org Git - thirdparty/knot-dns.git/commitdiff
tests: adapt knot/test_confio to configuration schema ms312
authorDaniel Salzman <daniel.salzman@nic.cz>
Thu, 9 Oct 2025 12:22:54 +0000 (14:22 +0200)
committerDaniel Salzman <daniel.salzman@nic.cz>
Thu, 9 Oct 2025 12:22:54 +0000 (14:22 +0200)
tests/knot/test_confio.c

index eb459bcc530843d2d86fb2dcb12476ed1a32724b..c01cb814c6fa4cd55928bfcfaf9e95da3b10306e 100644 (file)
@@ -918,7 +918,8 @@ static void test_conf_io_list(void)
              "server.udp-max-payload-ipv4\n"
              "server.udp-max-payload-ipv6\n"
              "server.edns-client-subnet\n"
-             "server.answer-rotation";
+             "server.answer-rotation\n"
+             "server.disable-any";
        ok(strcmp(ref, out) == 0, "compare result");
 }
 
@@ -941,6 +942,7 @@ static const yp_item_t desc_server[] = {
        { C_UDP_MAX_PAYLOAD_IPV6, YP_TINT,  YP_VNONE },
        { C_ECS,                  YP_TBOOL, YP_VNONE },
        { C_ANS_ROTATION,         YP_TBOOL, YP_VNONE },
+       { C_DISABLE_ANY,          YP_TBOOL, YP_VNONE },
        { NULL }
 };