summaryrefslogtreecommitdiff
path: root/tests/data/test702
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-06-05 13:50:59 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-06-05 13:50:59 +0000
commita466b315742e958a06aee6a2e92f0de5bd22c635 (patch)
treec694d9adddf19dcafcd67651673426a3bece0476 /tests/data/test702
parent48064f8deefd5424591a1caeb4ddf6ae9754679a (diff)
downloadcurl-a466b315742e958a06aee6a2e92f0de5bd22c635.tar.gz
Daniel Black's test suite fixes and initial test cases for SOCKS4/5 using
openssh
Diffstat (limited to 'tests/data/test702')
-rw-r--r--tests/data/test70239
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/data/test702 b/tests/data/test702
new file mode 100644
index 000000000..65564f840
--- /dev/null
+++ b/tests/data/test702
@@ -0,0 +1,39 @@
+#based off 19
+<testcase>
+<info>
+<keywords>
+HTTP
+SOCKS4
+connect to non-listen
+FAILURE
+</keywords>
+</info>
+# Server-side
+<reply>
+<data>
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+socks4
+</server>
+<features>
+http
+</features>
+ <name>
+attempt connect to non-listening socket via sock4 proxy
+ </name>
+ <command>
+--socks4 %HOSTIP:%SOCKSPORT %HOSTIP:60000
+</command>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<errorcode>
+7
+</errorcode>
+</verify>
+</testcase>