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

test1245: make it work with dynamic FTP server port

This commit is contained in:
Daniel Stenberg 2020-04-18 23:48:43 +02:00
parent b1c7073a77
commit 003a7b5269
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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>
#