mirror of
https://github.com/curl/curl.git
synced 2026-04-12 00:11:42 +08:00
Only actually needed servers should be listed and none is then implied if no servers are listed. Outputs a warning if "none" is still set as a server. Closes #18466
37 lines
568 B
Plaintext
37 lines
568 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
DNS
|
|
</keywords>
|
|
</info>
|
|
|
|
# Client-side
|
|
<client>
|
|
<features>
|
|
http
|
|
Debug
|
|
!c-ares
|
|
!win32
|
|
</features>
|
|
<name>
|
|
Delayed resolve --connect-timeout check
|
|
</name>
|
|
<setenv>
|
|
CURL_DNS_DELAY_MS=5000
|
|
</setenv>
|
|
<command>
|
|
http://test.invalid -v --no-progress-meter --trace-config dns --connect-timeout 1 -w \%{time_total}
|
|
</command>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<errorcode>
|
|
28
|
|
</errorcode>
|
|
<postcheck>
|
|
%SRCDIR/libtest/test795.pl %LOGDIR/stdout%TESTNUMBER 2 >> %LOGDIR/stderr%TESTNUMBER
|
|
</postcheck>
|
|
</verify>
|
|
</testcase>
|