summaryrefslogtreecommitdiff
path: root/tests/data/test1201
diff options
context:
space:
mode:
authorCameron Kaiser <ckaiser@floodgap.com>2010-08-23 14:30:59 -0700
committerDaniel Stenberg <daniel@haxx.se>2010-08-25 14:21:25 +0200
commit67d16160184493c6717e4e572fafed7467af4983 (patch)
tree9061513b563f8fc19b8d47c0606e03d7b3e90819 /tests/data/test1201
parent65629f2915d1b23193fbe4fb3697702ce2fc7e87 (diff)
downloadcurl-67d16160184493c6717e4e572fafed7467af4983.tar.gz
Gopher using Curl_write; test suite (4 tests)
Diffstat (limited to 'tests/data/test1201')
-rw-r--r--tests/data/test120140
1 files changed, 40 insertions, 0 deletions
diff --git a/tests/data/test1201 b/tests/data/test1201
new file mode 100644
index 000000000..071e4551a
--- /dev/null
+++ b/tests/data/test1201
@@ -0,0 +1,40 @@
+# Gopher selector fetch
+<testcase>
+<info>
+<keywords>
+GOPHER
+SELECTOR
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+<datacheck>
+iMenu results error.host 1
+0Selector /selector/SELECTOR /bar bar.foo.invalid 70
+.
+</datacheck>
+</reply>
+
+# Client-side
+<client>
+<server>
+gopher
+</server>
+ <name>
+Gopher selector
+ </name>
+ <command>
+gopher://%HOSTIP:%GOPHERPORT/1/selector/SELECTOR
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+/selector/SELECTOR
+</protocol>
+</verify>
+</testcase>