aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-06-05 13:52:34 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-06-05 13:52:34 +0000
commite86dfd9688fc8f041159e29f8a69af9bc8cacd3f (patch)
treea1f39ab33960d9eae572320786e0d4483144bf12
parenta466b315742e958a06aee6a2e92f0de5bd22c635 (diff)
added 703: a socks5 version of 702
-rw-r--r--tests/data/Makefile.am2
-rw-r--r--tests/data/test70339
2 files changed, 40 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index 6262dac6b..0caa7bad5 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -41,4 +41,4 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
test603 test401 test402 test290 test291 test292 test293 test403 test404 \
test405 test604 test605 test606 test607 test608 test609 test294 test295 \
test296 test297 test298 test610 test611 test612 test406 test407 test408 \
- test409 test613 test614 test700 test701 test702 test704 test705
+ test409 test613 test614 test700 test701 test702 test704 test705 test703
diff --git a/tests/data/test703 b/tests/data/test703
new file mode 100644
index 000000000..87c9a28aa
--- /dev/null
+++ b/tests/data/test703
@@ -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 sock5 proxy
+ </name>
+ <command>
+--socks5 %HOSTIP:%SOCKSPORT %HOSTIP:60000
+</command>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<errorcode>
+7
+</errorcode>
+</verify>
+</testcase>