]> granicus.if.org Git - curl/commitdiff
test650: Use variable replacement to set the host address and port
authorDan Fandrich <dan@coneharvesters.com>
Fri, 29 Sep 2017 23:37:55 +0000 (01:37 +0200)
committerDan Fandrich <dan@coneharvesters.com>
Sat, 30 Sep 2017 00:10:54 +0000 (02:10 +0200)
Otherwise, the test fails when the -b test option is used to set a
different test port range.

tests/data/test650

index f429eac2fa6e71cc0b5efaff4edd19908fcdeb21..e07d4c10b963a4826b200e452cee1d6de44b450e 100644 (file)
@@ -57,7 +57,7 @@ s/boundary=------------------------[a-z0-9]*/boundary=--------------------------
 # (5*12) == 60 bytes less
 <protocol>
 POST /650 HTTP/1.1\r
-Host: 127.0.0.1:8990\r
+Host: %HOSTIP:%HTTPPORT\r
 Accept: */*\r
 Transfer-Encoding: chunked\r
 Content-Type: multipart/form-data; boundary=----------------------------\r