From: Daniel Stenberg Date: Sat, 18 Apr 2020 21:48:43 +0000 (+0200) Subject: test1245: make it work with dynamic FTP server port X-Git-Tag: curl-7_70_0~50 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5247%2Fhead;p=thirdparty%2Fcurl.git test1245: make it work with dynamic FTP server port --- diff --git a/tests/data/test1245 b/tests/data/test1245 index 851d78d3bb..8924bff972 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 @@ -37,10 +37,6 @@ ftp --location --proto +all,-ftp --proto-redir -all,+ftp http://%HOSTIP:%HTTPPORT/1245 -# The data section doesn't do variable substitution, so we must assert this - -perl -e "print 'Test requires default test server host and port' if ( '%HOSTIP' ne '127.0.0.1' || '%FTPPORT' ne '8992' );" - #