gnunet-svn
[Top][All Lists]
Advanced

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

[gnurl] 212/264: test1245: make it work with dynamic FTP server port


From: gnunet
Subject: [gnurl] 212/264: test1245: make it work with dynamic FTP server port
Date: Thu, 30 Apr 2020 16:08:35 +0200

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

nikita pushed a commit to branch master
in repository gnurl.

commit 003a7b5269d8eced1aad9046269ea7104538de1f
Author: Daniel Stenberg <address@hidden>
AuthorDate: Sat Apr 18 23:48:43 2020 +0200

    test1245: make it work with dynamic FTP server port
---
 tests/data/test1245 | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/tests/data/test1245 b/tests/data/test1245
index 851d78d3b..8924bff97 100644
--- a/tests/data/test1245
+++ b/tests/data/test1245
@@ -18,7 +18,7 @@ HTTP/1.1 301 OK swsclose
 Date: Thu, 09 Nov 2010 14:49:00 GMT
 Server: test-server/fake
 Content-Length: 0
-Location: ftp://127.0.0.1:8992/1245
+Location: ftp://%HOSTIP:%FTPPORT/1245
 Connection: close
 
 </data>
@@ -37,10 +37,6 @@ ftp
 <command>
 --location --proto +all,-ftp --proto-redir -all,+ftp 
http://%HOSTIP:%HTTPPORT/1245
 </command>
-# The data section doesn't do variable substitution, so we must assert this
-<precheck>
-perl -e "print 'Test requires default test server host and port' if ( 
'%HOSTIP' ne '127.0.0.1' || '%FTPPORT' ne '8992' );"
-</precheck>
 </client>
 
 #

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



reply via email to

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