mirror of
https://github.com/moparisthebest/curl
synced 2024-11-18 07:25:14 -05:00
72 lines
1.1 KiB
Plaintext
72 lines
1.1 KiB
Plaintext
|
<testcase>
|
||
|
<info>
|
||
|
<keywords>
|
||
|
FTP
|
||
|
wildcardmatch
|
||
|
ftplistparser
|
||
|
</keywords>
|
||
|
</info>
|
||
|
|
||
|
#
|
||
|
# Server-side
|
||
|
<reply>
|
||
|
<data mode="text">
|
||
|
</data>
|
||
|
</reply>
|
||
|
|
||
|
# Client-side
|
||
|
<client>
|
||
|
<server>
|
||
|
ftp
|
||
|
</server>
|
||
|
<tool>
|
||
|
lib574
|
||
|
</tool>
|
||
|
<name>
|
||
|
FTP wildcard download - changed fnmatch, 2x perform (UNIX LIST response)
|
||
|
</name>
|
||
|
<command>
|
||
|
ftp://%HOSTIP:%FTPPORT/fully_simulated/UNIX/*.txt
|
||
|
</command>
|
||
|
</client>
|
||
|
|
||
|
############################################
|
||
|
# Verify data after the test has been "shot"
|
||
|
<verify>
|
||
|
<errorcode>
|
||
|
0
|
||
|
</errorcode>
|
||
|
<strip>
|
||
|
^RETR.*
|
||
|
^EPSV.*
|
||
|
^PWD.*
|
||
|
^CWD.*
|
||
|
^TYPE.*
|
||
|
^LIST.*
|
||
|
</strip>
|
||
|
<strippart>
|
||
|
s/USER.*/USER/
|
||
|
s/PASS.*/PASS/
|
||
|
s/QUIT.*/QUIT/
|
||
|
</strippart>
|
||
|
# THERE SHOULD NOT BE "SIZE"! and once "USER && PASS"
|
||
|
<protocol>
|
||
|
USER
|
||
|
PASS
|
||
|
QUIT
|
||
|
</protocol>
|
||
|
<stdout mode="text">
|
||
|
This file should have permissions 444
|
||
|
This file should have permissions 666
|
||
|
This file should have permissions 777
|
||
|
This is content of file "file.txt"
|
||
|
Some junk ;-) This file does not really exist.
|
||
|
This file should have permissions 444
|
||
|
This file should have permissions 666
|
||
|
This file should have permissions 777
|
||
|
This is content of file "file.txt"
|
||
|
Some junk ;-) This file does not really exist.
|
||
|
</stdout>
|
||
|
</verify>
|
||
|
</testcase>
|