Gopher using Curl_write; test suite (4 tests)

This commit is contained in:
Cameron Kaiser
2010-08-23 14:30:59 -07:00
committed by Daniel Stenberg
parent 65629f2915
commit 67d1616018
10 changed files with 301 additions and 54 deletions

40
tests/data/test1201 Normal file
View File

@@ -0,0 +1,40 @@
# Gopher selector fetch
<testcase>
<info>
<keywords>
GOPHER
SELECTOR
</keywords>
</info>
#
# Server-side
<reply>
<datacheck>
iMenu results error.host 1
0Selector /selector/SELECTOR /bar bar.foo.invalid 70
.
</datacheck>
</reply>
# Client-side
<client>
<server>
gopher
</server>
<name>
Gopher selector
</name>
<command>
gopher://%HOSTIP:%GOPHERPORT/1/selector/SELECTOR
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol>
/selector/SELECTOR
</protocol>
</verify>
</testcase>