2010-08-24 05:30:59 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
GOPHER
|
|
|
|
QUERY
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
2010-08-25 06:47:45 +08:00
|
|
|
<data>
|
2010-08-25 05:15:59 +08:00
|
|
|
iSearch results error.host 1
|
|
|
|
0Query query succeeded /foo foo.bar.invalid 70
|
|
|
|
0Selector /the/search/engine /bar bar.foo.invalid 70
|
|
|
|
.
|
2010-08-25 06:47:45 +08:00
|
|
|
</data>
|
2010-08-24 05:30:59 +08:00
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
gopher
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
Gopher query
|
|
|
|
</name>
|
|
|
|
<command>
|
2010-08-26 07:43:26 +08:00
|
|
|
"gopher://%HOSTIP:%GOPHERPORT/7/the/search/engine?query%20succeeded/1202"
|
2010-08-24 05:30:59 +08:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2010-08-25 06:47:45 +08:00
|
|
|
/the/search/engine query succeeded/1202
|
2010-08-24 05:30:59 +08:00
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|