mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 17:31:46 -05:00
test1028: make it run on dynamic FTP server port
This commit is contained in:
parent
7e359bccd2
commit
85e727d434
@ -19,7 +19,7 @@ Date: Thu, 09 Nov 2010 14:49:00 GMT
|
|||||||
Server: test-server/fake swsclose
|
Server: test-server/fake swsclose
|
||||||
Content-Type: text/html
|
Content-Type: text/html
|
||||||
Funny-head: yesyes
|
Funny-head: yesyes
|
||||||
Location: ftp://127.0.0.1:8992/10280002
|
Location: ftp://%HOSTIP:%FTPPORT/10280002
|
||||||
Content-Length: 0
|
Content-Length: 0
|
||||||
Connection: close
|
Connection: close
|
||||||
|
|
||||||
@ -47,10 +47,6 @@ HTTP Location: redirect to FTP URL
|
|||||||
<command>
|
<command>
|
||||||
http://%HOSTIP:%HTTPPORT/10280001 -L
|
http://%HOSTIP:%HTTPPORT/10280001 -L
|
||||||
</command>
|
</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>
|
</client>
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user