curl/tests/data/test1202
Daniel Stenberg e2b4df7b5e
tests: use %TESTNUMBER instead of fixed number
This makes the tests easier to copy and relocate to other test numbers
without having to update content.

Closes #6738
2021-03-19 15:57:21 +01:00

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>