mirror of
https://github.com/curl/curl.git
synced 2026-08-24 15:23:36 +03:00
gopher tests: use sws and adjusted to more standard style
This commit is contained in:
parent
6ed72fd7fa
commit
ecb3fe63d7
6 changed files with 56 additions and 36 deletions
|
|
@ -10,11 +10,11 @@ INDEX
|
|||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<datacheck>
|
||||
<data>
|
||||
iMenu results error.host 1
|
||||
0Selector /bar bar.foo.invalid 70
|
||||
.
|
||||
</datacheck>
|
||||
</data>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
|
|
@ -26,7 +26,7 @@ gopher
|
|||
Gopher index
|
||||
</name>
|
||||
<command>
|
||||
gopher://%HOSTIP:%GOPHERPORT
|
||||
gopher://%HOSTIP:%GOPHERPORT/1/1200
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
@ -34,7 +34,7 @@ gopher://%HOSTIP:%GOPHERPORT
|
|||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<protocol>
|
||||
|
||||
/1200
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -10,11 +10,11 @@ SELECTOR
|
|||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<datacheck>
|
||||
<data>
|
||||
iMenu results error.host 1
|
||||
0Selector /selector/SELECTOR /bar bar.foo.invalid 70
|
||||
.
|
||||
</datacheck>
|
||||
</data>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
|
|
@ -26,7 +26,7 @@ gopher
|
|||
Gopher selector
|
||||
</name>
|
||||
<command>
|
||||
gopher://%HOSTIP:%GOPHERPORT/1/selector/SELECTOR
|
||||
gopher://%HOSTIP:%GOPHERPORT/1/selector/SELECTOR/1201
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
@ -34,7 +34,7 @@ gopher://%HOSTIP:%GOPHERPORT/1/selector/SELECTOR
|
|||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<protocol>
|
||||
/selector/SELECTOR
|
||||
/selector/SELECTOR/1201
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -10,12 +10,12 @@ QUERY
|
|||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<datacheck>
|
||||
<data>
|
||||
iSearch results error.host 1
|
||||
0Query query succeeded /foo foo.bar.invalid 70
|
||||
0Selector /the/search/engine /bar bar.foo.invalid 70
|
||||
.
|
||||
</datacheck>
|
||||
</data>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
|
|
@ -27,7 +27,7 @@ gopher
|
|||
Gopher query
|
||||
</name>
|
||||
<command>
|
||||
gopher://%HOSTIP:%GOPHERPORT/7/the/search/engine?query%20succeeded
|
||||
gopher://%HOSTIP:%GOPHERPORT/7/the/search/engine?query%20succeeded/1202
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
@ -35,7 +35,7 @@ gopher://%HOSTIP:%GOPHERPORT/7/the/search/engine?query%20succeeded
|
|||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<protocol>
|
||||
/the/search/engine query succeeded
|
||||
/the/search/engine query succeeded/1202
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -11,11 +11,11 @@ INDEX
|
|||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<datacheck>
|
||||
<data>
|
||||
iMenu results error.host 1
|
||||
0Selector /bar bar.foo.invalid 70
|
||||
.
|
||||
</datacheck>
|
||||
</data>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
|
|
@ -27,7 +27,7 @@ gopher-ipv6
|
|||
Gopher IPv6 index
|
||||
</name>
|
||||
<command>
|
||||
-g "gopher://%HOSTIP:%GOPHER6PORT"
|
||||
-g "gopher://%HOSTIP:%GOPHER6PORT/1/moo/1203"
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
@ -35,7 +35,7 @@ Gopher IPv6 index
|
|||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<protocol>
|
||||
|
||||
/moo/1203
|
||||
</protocol>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue