mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08: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:
parent
9d47ff5323
commit
f9c6febae2
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user