1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

tests: make test 1248 + 1249 use %NOLISTENPORT

... instead of a port of a non-running server so that it works
stand-alone.

Closes #5318
This commit is contained in:
Daniel Stenberg 2020-05-01 23:06:46 +02:00
parent 9d47ff5323
commit f9c6febae2
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 2 additions and 2 deletions

View 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>

View 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>