aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test1202
blob: 8b8502d4bd6d8f9e071dffd0963332dd7d37f577 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Gopher query fetch
<testcase>
<info>
<keywords>
GOPHER
QUERY
</keywords>
</info>

#
# Server-side
<reply>
<datacheck>
iSearch results		error.host	1
0Query query succeeded	/foo	foo.bar.invalid	70
0Selector /the/search/engine	/bar	bar.foo.invalid	70
.
</datacheck>
</reply>

# Client-side
<client>
<server>
gopher
</server>
 <name>
Gopher query
 </name>
 <command>
gopher://%HOSTIP:%GOPHERPORT/7/the/search/engine?query%20succeeded
</command>
</client>

#
# Verify data after the test has been "shot"
<verify>
<protocol>
/the/search/engine	query succeeded
</protocol>
</verify>
</testcase>