From: Yu Watanabe Date: Mon, 23 Jul 2018 16:26:14 +0000 (+0900) Subject: test: add more string-table tests in test-resolve-tables X-Git-Tag: v240~916^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e6e7a551a0593bcf9f8890debb13596ee821116f;p=thirdparty%2Fsystemd.git test: add more string-table tests in test-resolve-tables --- diff --git a/src/resolve/test-resolve-tables.c b/src/resolve/test-resolve-tables.c index 842d42b3110..2230a66ef5e 100644 --- a/src/resolve/test-resolve-tables.c +++ b/src/resolve/test-resolve-tables.c @@ -1,11 +1,18 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #include "dns-type.h" +#include "resolved-dns-dnssec.h" +#include "resolved-dns-packet.h" #include "test-tables.h" int main(int argc, char **argv) { uint16_t i; + test_table(dns_protocol, DNS_PROTOCOL); + test_table(dnssec_result, DNSSEC_RESULT); + test_table(dnssec_verdict, DNSSEC_VERDICT); + + test_table_sparse(dns_rcode, DNS_RCODE); test_table_sparse(dns_type, DNS_TYPE); log_info("/* DNS_TYPE */");