mirror of
https://github.com/moparisthebest/curl
synced 2024-12-26 10:08:48 -05:00
e2b4df7b5e
This makes the tests easier to copy and relocate to other test numbers without having to update content. Closes #6738
41 lines
592 B
Plaintext
41 lines
592 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
GOPHER
|
|
QUERY
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
iSearch results error.host 1
|
|
0Query query succeeded /foo foo.bar.invalid 70
|
|
0Selector /the/search/engine /bar bar.foo.invalid 70
|
|
.
|
|
</data>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
gopher
|
|
</server>
|
|
<name>
|
|
Gopher query
|
|
</name>
|
|
<command>
|
|
"gopher://%HOSTIP:%GOPHERPORT/7/the/search/engine%09query%20succeeded/%TESTNUMBER"
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
/the/search/engine query succeeded/%TESTNUMBER
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|