mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
a094ec1a85
curl bails out early with a different error message if http support is compiled out. Ref: #10705
43 lines
477 B
Plaintext
43 lines
477 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>
|
|
red.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>
|