mirror of
https://github.com/moparisthebest/curl
synced 2024-11-14 13:35:03 -05:00
e2b4df7b5e
This makes the tests easier to copy and relocate to other test numbers without having to update content. Closes #6738
40 lines
512 B
Plaintext
40 lines
512 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
GOPHER
|
|
SELECTOR
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
iMenu results error.host 1
|
|
0Selector /selector/SELECTOR /bar bar.foo.invalid 70
|
|
.
|
|
</data>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
gopher
|
|
</server>
|
|
<name>
|
|
Gopher selector
|
|
</name>
|
|
<command>
|
|
gopher://%HOSTIP:%GOPHERPORT/1/selector/SELECTOR/%TESTNUMBER?
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
/selector/SELECTOR/%TESTNUMBER?
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|