Add test scenario forward-to-socks-proxy
[privoxy.git] / tests / cts / forward-to-socks-proxy / data / test6
diff --git a/tests/cts/forward-to-socks-proxy/data/test6 b/tests/cts/forward-to-socks-proxy/data/test6
new file mode 100644 (file)
index 0000000..1d03754
--- /dev/null
@@ -0,0 +1,30 @@
+<testcase>
+<info>
+<keywords>
+HTTP
+HTTP GET
+</keywords>
+</info>
+
+<client>
+<server>
+http
+socks4
+</server>
+<name>
+Request forwarded through a SOCKS5 proxy. Destination host specified by invalid IPv4 address.
+</name>
+<features>
+proxy
+</features>
+<command>
+-s --write-out '%{stderr}%{response_code}\n' http://127.1234.0.1:%HTTPPORT/socks5/%TESTNUMBER
+</command>
+</client>
+
+<verify>
+<stderr>
+503
+</stderr>
+</verify>
+</testcase>