]> granicus.if.org Git - curl/commitdiff
tests: use port 2 instead of 60000 for a safer non-listening port
authorDaniel Stenberg <daniel@haxx.se>
Tue, 8 Oct 2019 08:11:35 +0000 (10:11 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 9 Oct 2019 12:16:28 +0000 (14:16 +0200)
... when the tests want "connection refused".

tests/data/test19
tests/data/test704
tests/data/test705

index dd60b8cf3a96a361f6b33ea8d6232ba213960a67..8e1bf5eb42f6f49d6187fceb519f30ea896ab591 100644 (file)
@@ -24,7 +24,7 @@ http
 attempt connect to non-listening socket
  </name>
  <command>
-%HOSTIP:60000
+%HOSTIP:2
 </command>
 </client>
 
index 15a1b670177748d987999d1dc76edbdc9f80d1c7..6732d0a2063aea17f920249042e27683b732fb18 100644 (file)
@@ -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>
 
index 3b904c6b1983ed99792a8c859ec7ab35857816da..3d5f04e3ac8bff925466ae186eee5d68bc019835 100644 (file)
@@ -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>