gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 277/282: tests/data: fix static ip:port instead of dynamic value


From: gnunet
Subject: [gnurl] 277/282: tests/data: fix static ip:port instead of dynamic values being used
Date: Wed, 01 Apr 2020 14:32:22 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 94ced8e368243fd53f8185d0cf1fbb5394f42ca6
Author: Marc Hoersken <address@hidden>
AuthorDate: Tue Mar 10 03:56:50 2020 +0100

    tests/data: fix static ip:port instead of dynamic values being used
    
    Closes #5065
---
 tests/data/test1293 | 2 +-
 tests/data/test2078 | 2 +-
 tests/data/test490  | 4 ++--
 tests/data/test491  | 2 +-
 tests/data/test492  | 8 ++++----
 5 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/tests/data/test1293 b/tests/data/test1293
index 11a28a326..e2143d103 100644
--- a/tests/data/test1293
+++ b/tests/data/test1293
@@ -52,7 +52,7 @@ 
s/boundary=------------------------[a-z0-9]*/boundary=--------------------------
 </strippart>
 <protocol>
 POST /1293 HTTP/1.1
-Host: 127.0.0.1:8990
+Host: %HOSTIP:%HTTPPORT
 Accept: */*
 Content-Length: 126
 Content-Type: multipart/form-data; boundary=----------------------------
diff --git a/tests/data/test2078 b/tests/data/test2078
index 99bc2dbee..51ace296a 100644
--- a/tests/data/test2078
+++ b/tests/data/test2078
@@ -43,7 +43,7 @@ http://%HOSTIP:%HTTPPORT/2078 -u : --negotiate --data 
name=value
 </strip>
 <protocol nonewline="yes">
 POST /2078 HTTP/1.1
-Host: 127.0.0.1:8990
+Host: %HOSTIP:%HTTPPORT
 Accept: */*
 Content-Length: 10
 Content-Type: application/x-www-form-urlencoded
diff --git a/tests/data/test490 b/tests/data/test490
index a3383a9d1..86ebb0112 100644
--- a/tests/data/test490
+++ b/tests/data/test490
@@ -50,14 +50,14 @@ surprise!
 </strip>
 <protocol>
 PUT /490 HTTP/1.1
-Host: 127.0.0.1:8990
+Host: %HOSTIP:%HTTPPORT
 Accept: */*
 Content-Length: 10
 Expect: 100-continue
 
 surprise!
 PUT /490 HTTP/1.1
-Host: 127.0.0.1:8990
+Host: %HOSTIP:%HTTPPORT
 Accept: */*
 Content-Length: 10
 Expect: 100-continue
diff --git a/tests/data/test491 b/tests/data/test491
index b49c06ce7..c230dfb78 100644
--- a/tests/data/test491
+++ b/tests/data/test491
@@ -50,7 +50,7 @@ surprise!
 </strip>
 <protocol>
 PUT /491 HTTP/1.1
-Host: 127.0.0.1:8990
+Host: %HOSTIP:%HTTPPORT
 Accept: */*
 Content-Length: 10
 Expect: 100-continue
diff --git a/tests/data/test492 b/tests/data/test492
index 12edd8bc0..ddb0405ef 100644
--- a/tests/data/test492
+++ b/tests/data/test492
@@ -53,7 +53,7 @@ second 492 contents
 </strip>
 <protocol>
 PUT /one/first492 HTTP/1.1
-Host: 127.0.0.1:8990
+Host: %HOSTIP:%HTTPPORT
 Accept: */*
 Testno: 492
 Content-Length: 19
@@ -61,7 +61,7 @@ Expect: 100-continue
 
 first 492 contents
 PUT /two/first492 HTTP/1.1
-Host: 127.0.0.1:8990
+Host: %HOSTIP:%HTTPPORT
 Accept: */*
 Testno: 492
 Content-Length: 19
@@ -69,7 +69,7 @@ Expect: 100-continue
 
 first 492 contents
 PUT /one/second492 HTTP/1.1
-Host: 127.0.0.1:8990
+Host: %HOSTIP:%HTTPPORT
 Accept: */*
 Testno: 492
 Content-Length: 20
@@ -77,7 +77,7 @@ Expect: 100-continue
 
 second 492 contents
 PUT /two/second492 HTTP/1.1
-Host: 127.0.0.1:8990
+Host: %HOSTIP:%HTTPPORT
 Accept: */*
 Testno: 492
 Content-Length: 20

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]