mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
a094ec1a85
curl bails out early with a different error message if http support is compiled out. Ref: #10705
43 lines
481 B
Plaintext
43 lines
481 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
Onion
|
|
Tor
|
|
FAILURE
|
|
</keywords>
|
|
</info>
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
none
|
|
</server>
|
|
<features>
|
|
http
|
|
</features>
|
|
<name>
|
|
Fail to resolve .onion. TLD
|
|
</name>
|
|
<command>
|
|
tasty.onion.
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
# Couldn't resolve host name
|
|
<errorcode>
|
|
6
|
|
</errorcode>
|
|
<stderr mode="text">
|
|
curl: (6) Not resolving .onion address (RFC 7686)
|
|
</stderr>
|
|
</verify>
|
|
</testcase>
|