]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests: make test 1248 + 1249 use %NOLISTENPORT
authorDaniel Stenberg <daniel@haxx.se>
Fri, 1 May 2020 21:06:46 +0000 (23:06 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 2 May 2020 13:47:34 +0000 (15:47 +0200)
... instead of a port of a non-running server so that it works
stand-alone.

Closes #5318

tests/data/test1248
tests/data/test1249

index 28e7a8527b820128214f424aba82c1264c046000..02dacfc8b9f6bf8227ecd0f53f9ced8838af4445 100644 (file)
@@ -29,7 +29,7 @@ http
 Access a non-proxied host with using the combination of --proxy option and --noproxy option
 </name>
 <command>
-http://user:secret@%HOSTIP:%HTTPPORT/1248 --proxy http://dummy:%PROXYPORT/ --noproxy %HOSTIP --max-time 5
+http://user:secret@%HOSTIP:%HTTPPORT/1248 --proxy http://dummy:%NOLISTENPORT/ --noproxy %HOSTIP --max-time 5
 </command>
 </client>
 
index ab561406865712ac5074e89950d0844f1de84b61..1bc3cfe593c5e53a72a04abc051f15e03d350bf1 100644 (file)
@@ -32,7 +32,7 @@ Access a non-proxied host with using the combination of --proxy option and NO_PR
 NO_PROXY=%HOSTIP
 </setenv>
 <command>
-http://user:secret@%HOSTIP:%HTTPPORT/1249 --proxy http://dummy:%PROXYPORT/ --max-time 5
+http://user:secret@%HOSTIP:%HTTPPORT/1249 --proxy http://dummy:%NOLISTENPORT/ --max-time 5
 </command>
 </client>