tests: adapt knot/test_confio to configuration schema

This commit is contained in:
Daniel Salzman 2025-10-09 14:22:54 +02:00
parent 0bdb860a69
commit 64f0c692b3

View 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 }
};