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

tests/data: fix static ip:port instead of dynamic values being used

Closes #5065
This commit is contained in:
Marc Hoersken 2020-03-10 03:56:50 +01:00
parent 26c5ba0e65
commit 94ced8e368
No known key found for this signature in database
GPG Key ID: 61E03CBED7BC859E
5 changed files with 9 additions and 9 deletions

View File

@ -52,7 +52,7 @@ s/boundary=------------------------[a-z0-9]*/boundary=--------------------------
</strippart> </strippart>
<protocol> <protocol>
POST /1293 HTTP/1.1 POST /1293 HTTP/1.1
Host: 127.0.0.1:8990 Host: %HOSTIP:%HTTPPORT
Accept: */* Accept: */*
Content-Length: 126 Content-Length: 126
Content-Type: multipart/form-data; boundary=---------------------------- Content-Type: multipart/form-data; boundary=----------------------------

View File

@ -43,7 +43,7 @@ http://%HOSTIP:%HTTPPORT/2078 -u : --negotiate --data name=value
</strip> </strip>
<protocol nonewline="yes"> <protocol nonewline="yes">
POST /2078 HTTP/1.1 POST /2078 HTTP/1.1
Host: 127.0.0.1:8990 Host: %HOSTIP:%HTTPPORT
Accept: */* Accept: */*
Content-Length: 10 Content-Length: 10
Content-Type: application/x-www-form-urlencoded Content-Type: application/x-www-form-urlencoded

View File

@ -50,14 +50,14 @@ surprise!
</strip> </strip>
<protocol> <protocol>
PUT /490 HTTP/1.1 PUT /490 HTTP/1.1
Host: 127.0.0.1:8990 Host: %HOSTIP:%HTTPPORT
Accept: */* Accept: */*
Content-Length: 10 Content-Length: 10
Expect: 100-continue Expect: 100-continue
surprise! surprise!
PUT /490 HTTP/1.1 PUT /490 HTTP/1.1
Host: 127.0.0.1:8990 Host: %HOSTIP:%HTTPPORT
Accept: */* Accept: */*
Content-Length: 10 Content-Length: 10
Expect: 100-continue Expect: 100-continue

View File

@ -50,7 +50,7 @@ surprise!
</strip> </strip>
<protocol> <protocol>
PUT /491 HTTP/1.1 PUT /491 HTTP/1.1
Host: 127.0.0.1:8990 Host: %HOSTIP:%HTTPPORT
Accept: */* Accept: */*
Content-Length: 10 Content-Length: 10
Expect: 100-continue Expect: 100-continue

View File

@ -53,7 +53,7 @@ second 492 contents
</strip> </strip>
<protocol> <protocol>
PUT /one/first492 HTTP/1.1 PUT /one/first492 HTTP/1.1
Host: 127.0.0.1:8990 Host: %HOSTIP:%HTTPPORT
Accept: */* Accept: */*
Testno: 492 Testno: 492
Content-Length: 19 Content-Length: 19
@ -61,7 +61,7 @@ Expect: 100-continue
first 492 contents first 492 contents
PUT /two/first492 HTTP/1.1 PUT /two/first492 HTTP/1.1
Host: 127.0.0.1:8990 Host: %HOSTIP:%HTTPPORT
Accept: */* Accept: */*
Testno: 492 Testno: 492
Content-Length: 19 Content-Length: 19
@ -69,7 +69,7 @@ Expect: 100-continue
first 492 contents first 492 contents
PUT /one/second492 HTTP/1.1 PUT /one/second492 HTTP/1.1
Host: 127.0.0.1:8990 Host: %HOSTIP:%HTTPPORT
Accept: */* Accept: */*
Testno: 492 Testno: 492
Content-Length: 20 Content-Length: 20
@ -77,7 +77,7 @@ Expect: 100-continue
second 492 contents second 492 contents
PUT /two/second492 HTTP/1.1 PUT /two/second492 HTTP/1.1
Host: 127.0.0.1:8990 Host: %HOSTIP:%HTTPPORT
Accept: */* Accept: */*
Testno: 492 Testno: 492
Content-Length: 20 Content-Length: 20