summaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-11-16 17:55:44 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-12-15 12:58:19 +0100
commitf24784f9143a7b110022719f5758088a17eb44b7 (patch)
tree295ece85b68a5a3b63be0e10513eb955b878caf4 /tests/data
parent48b85c46f16f04e803e00b0bad42a4fa0295f517 (diff)
downloadcurl-f24784f9143a7b110022719f5758088a17eb44b7.tar.gz
test1272: test gophers
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/Makefile.inc2
-rw-r--r--tests/data/test127240
2 files changed, 41 insertions, 1 deletions
diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc
index b9d03bce2..8e1c49576 100644
--- a/tests/data/Makefile.inc
+++ b/tests/data/Makefile.inc
@@ -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 \
diff --git a/tests/data/test1272 b/tests/data/test1272
new file mode 100644
index 000000000..a03fb6b4a
--- /dev/null
+++ b/tests/data/test1272
@@ -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>