test/dns: replace servname since solaris does not have "http"

Yes, by default solaris (solaris10.dev 5.10 Generic_147148-26 i86pc i386 i86pc)
does not have "http" in /etc/services
This commit is contained in:
Azat Khuzhin 2017-01-20 02:11:35 +03:00
parent 83e0f43b03
commit d6bafbbeb2

View File

@ -2096,7 +2096,7 @@ dns_client_fail_requests_getaddrinfo_test(void *arg)
tt_assert(!evdns_base_nameserver_ip_add(dns, buf));
for (i = 0; i < 20; ++i)
tt_assert(evdns_getaddrinfo(dns, "foof.example.com", "http", NULL, getaddrinfo_cb, &r[i]));
tt_assert(evdns_getaddrinfo(dns, "foof.example.com", "ssh", NULL, getaddrinfo_cb, &r[i]));
n_replies_left = 20;
exit_base = base;