2010-08-23 17:30:59 -04:00
|
|
|
# Gopher query fetch
|
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
GOPHER
|
|
|
|
QUERY
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
2010-08-24 18:47:45 -04:00
|
|
|
<data>
|
2010-08-24 17:15:59 -04: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-24 18:47:45 -04:00
|
|
|
</data>
|
2010-08-23 17:30:59 -04:00
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
gopher
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
Gopher query
|
|
|
|
</name>
|
|
|
|
<command>
|
2010-08-24 18:47:45 -04:00
|
|
|
gopher://%HOSTIP:%GOPHERPORT/7/the/search/engine?query%20succeeded/1202
|
2010-08-23 17:30:59 -04:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2010-08-24 18:47:45 -04:00
|
|
|
/the/search/engine query succeeded/1202
|
2010-08-23 17:30:59 -04:00
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|