From: Daniel Stenberg Date: Sat, 18 Apr 2020 21:46:29 +0000 (+0200) Subject: test1028: make it run on dynamic FTP server port X-Git-Tag: curl-7_70_0~52 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=85e727d4343148b7ed393e8e1f48e88a4ae6a082;p=thirdparty%2Fcurl.git test1028: make it run on dynamic FTP server port --- diff --git a/tests/data/test1028 b/tests/data/test1028 index fd5162a705..b154372afd 100644 --- a/tests/data/test1028 +++ b/tests/data/test1028 @@ -19,7 +19,7 @@ Date: Thu, 09 Nov 2010 14:49:00 GMT Server: test-server/fake swsclose Content-Type: text/html Funny-head: yesyes -Location: ftp://127.0.0.1:8992/10280002 +Location: ftp://%HOSTIP:%FTPPORT/10280002 Content-Length: 0 Connection: close @@ -47,10 +47,6 @@ HTTP Location: redirect to FTP URL http://%HOSTIP:%HTTPPORT/10280001 -L -# 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' );" - #