1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-17 15:05:02 -05:00

test1272: test gophers

This commit is contained in:
Daniel Stenberg 2020-11-16 17:55:44 +01:00
parent 48b85c46f1
commit f24784f914
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 41 additions and 1 deletions

View File

@ -150,7 +150,7 @@ test1240 test1241 test1242 test1243 test1244 test1245 test1246 test1247 \
test1248 test1249 test1250 test1251 test1252 test1253 test1254 test1255 \
test1256 test1257 test1258 test1259 test1260 test1261 test1262 test1263 \
test1264 test1265 test1266 test1267 test1268 test1269 test1270 test1271 \
\
test1272 \
test1280 test1281 test1282 test1283 test1284 test1285 test1286 test1287 \
test1288 test1289 test1290 test1291 test1292 test1293 test1294 test1295 \
test1296 test1297 test1298 test1299 test1300 test1301 test1302 test1303 \

40
tests/data/test1272 Normal file
View File

@ -0,0 +1,40 @@
<testcase>
<info>
<keywords>
GOPHER
GOPHERS
INDEX
</keywords>
</info>
#
# Server-side
<reply>
<data>
iMenu results error.host 1
0Selector /bar bar.foo.invalid 70
.
</data>
</reply>
# Client-side
<client>
<server>
gophers
</server>
<name>
Gophers index
</name>
<command>
-k gophers://%HOSTIP:%GOPHERSPORT/1/1272
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol>
/1272
</protocol>
</verify>
</testcase>