mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
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:
parent
83e0f43b03
commit
d6bafbbeb2
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user