aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-05-01 23:06:46 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-05-02 15:47:34 +0200
commitf9c6febae2a68defb2a168046b9c742df3c5a42a (patch)
treee3986432f7ee5d3283c39fc15fcd88e4ec0dc6bb
parent9d47ff53230f515716c66bc5993b09f58f815893 (diff)
tests: make test 1248 + 1249 use %NOLISTENPORT
... instead of a port of a non-running server so that it works stand-alone. Closes #5318
-rw-r--r--tests/data/test12482
-rw-r--r--tests/data/test12492
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/data/test1248 b/tests/data/test1248
index 28e7a8527..02dacfc8b 100644
--- a/tests/data/test1248
+++ b/tests/data/test1248
@@ -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>
diff --git a/tests/data/test1249 b/tests/data/test1249
index ab5614068..1bc3cfe59 100644
--- a/tests/data/test1249
+++ b/tests/data/test1249
@@ -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>