summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-10-08 10:11:35 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-10-09 14:16:28 +0200
commitb59f0626b59e8a83a971b45212840313e73c9020 (patch)
treedc8f1340424f60a0002dbae538fdb8282dfbcafa
parentb8ea432d61ed7483e3da2ef3c46b15af10503cb7 (diff)
downloadcurl-b59f0626b59e8a83a971b45212840313e73c9020.tar.gz
tests: use port 2 instead of 60000 for a safer non-listening port
... when the tests want "connection refused".
-rw-r--r--tests/data/test192
-rw-r--r--tests/data/test7042
-rw-r--r--tests/data/test7052
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/data/test19 b/tests/data/test19
index dd60b8cf3..8e1bf5eb4 100644
--- a/tests/data/test19
+++ b/tests/data/test19
@@ -24,7 +24,7 @@ http
attempt connect to non-listening socket
</name>
<command>
-%HOSTIP:60000
+%HOSTIP:2
</command>
</client>
diff --git a/tests/data/test704 b/tests/data/test704
index 15a1b6701..6732d0a20 100644
--- a/tests/data/test704
+++ b/tests/data/test704
@@ -23,7 +23,7 @@ http
Attempt connect to non-listening SOCKS4 proxy
</name>
<command>
---socks4 %HOSTIP:60000 http://%HOSTIP:%HTTPPORT/704
+--socks4 %HOSTIP:2 http://%HOSTIP:%HTTPPORT/704
</command>
</client>
diff --git a/tests/data/test705 b/tests/data/test705
index 3b904c6b1..3d5f04e3a 100644
--- a/tests/data/test705
+++ b/tests/data/test705
@@ -23,7 +23,7 @@ http
Attempt connect to non-listening SOCKS5 proxy
</name>
<command>
---socks5 %HOSTIP:60000 http://%HOSTIP:%HTTPPORT/705
+--socks5 %HOSTIP:2 http://%HOSTIP:%HTTPPORT/705
</command>
</client>