Cleaned up SOCKS tests. Use a magic port number instead of killserver

to do nonlistening server tests, like other tests.
This commit is contained in:
Dan Fandrich 2007-06-07 20:14:00 +00:00
parent f0ffb35d55
commit 345ffd1163
6 changed files with 18 additions and 31 deletions

View file

@ -1,9 +1,9 @@
#based off 19
<testcase>
#based off 19
<info>
<keywords>
HTTP
SOCKS5 fail
SOCKS5
connect to non-listen
FAILURE
</keywords>
@ -19,21 +19,14 @@ FAILURE
<server>
http
</server>
<features>
http
</features>
<name>
attempt connect to non-listening sock5 proxy
Attempt connect to non-listening SOCKS5 proxy
</name>
<command>
--socks5 %HOSTIP:%SOCKSPORT %HOSTIP:60000
--socks5 %HOSTIP:60000 http://%HOSTIP:%HTTPPORT/705
</command>
</client>
<killserver>
sock5
</killserver>
# Verify data after the test has been "shot"
<verify>
<errorcode>