Skip test that breaks with dnsmasq

when SKIP_DNSMASQ_ISSUE variable is test.
Helps out a little with issue #300
This commit is contained in:
Willem Toorop 2017-12-21 15:45:58 +01:00
parent 0ef910b9ee
commit 81ffa2f48d
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,6 @@
* 2017-12-??: Version 1.3.0
* Skip unit tests that fail with dnsmasq when the SKIP_DNSMASQ_ISSUE
variable is set. Thanks Konomi Kitten
* Specify default available cipher suites for authenticated TLS
upstreams with getdns_context_set_tls_ciphers_list()
An upstream specific available cipher suite may also be given

View File

@ -187,8 +187,9 @@
ASSERT_RC(type, GETDNS_RESOLUTION_STUB, "Query did not use stub mode");
ASSERT_RC(getdns_dict_get_int(response, "/replies_tree/0/header/tc", &tc),
GETDNS_RETURN_GOOD, "Failed to extract \"tc\"");
ASSERT_RC(tc, 1, "Packet not trucated as expected");
if (!getenv("SKIP_DNSMASQ_ISSUE")) {
ASSERT_RC(tc, 1, "Packet not truncated as expected");
}
/* Re-do over TCP */
ASSERT_RC(getdns_context_set_dns_transport(context, GETDNS_TRANSPORT_TCP_ONLY),
GETDNS_RETURN_GOOD, "Return code from getdns_context_set_dns_transport()");