From: Dan Fandrich Date: Fri, 29 Sep 2017 23:37:55 +0000 (+0200) Subject: test650: Use variable replacement to set the host address and port X-Git-Tag: curl-7_56_0~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cecffff561b4cb5707510cfbc0bc41fe0e5b346a;p=curl test650: Use variable replacement to set the host address and port Otherwise, the test fails when the -b test option is used to set a different test port range. --- diff --git a/tests/data/test650 b/tests/data/test650 index f429eac2f..e07d4c10b 100644 --- a/tests/data/test650 +++ b/tests/data/test650 @@ -57,7 +57,7 @@ s/boundary=------------------------[a-z0-9]*/boundary=-------------------------- # (5*12) == 60 bytes less POST /650 HTTP/1.1 -Host: 127.0.0.1:8990 +Host: %HOSTIP:%HTTPPORT Accept: */* Transfer-Encoding: chunked Content-Type: multipart/form-data; boundary=----------------------------