xref: /aosp_15_r20/external/curl/tests/data/test574 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker<testcase>
2*6236dae4SAndroid Build Coastguard Worker<info>
3*6236dae4SAndroid Build Coastguard Worker<keywords>
4*6236dae4SAndroid Build Coastguard WorkerFTP
5*6236dae4SAndroid Build Coastguard WorkerLIST
6*6236dae4SAndroid Build Coastguard WorkerRETR
7*6236dae4SAndroid Build Coastguard Workerwildcardmatch
8*6236dae4SAndroid Build Coastguard Workerftplistparser
9*6236dae4SAndroid Build Coastguard Worker</keywords>
10*6236dae4SAndroid Build Coastguard Worker</info>
11*6236dae4SAndroid Build Coastguard Worker
12*6236dae4SAndroid Build Coastguard Worker#
13*6236dae4SAndroid Build Coastguard Worker# Server-side
14*6236dae4SAndroid Build Coastguard Worker#
15*6236dae4SAndroid Build Coastguard Worker# Data is generated by the ftp server itself
16*6236dae4SAndroid Build Coastguard Worker
17*6236dae4SAndroid Build Coastguard Worker# Client-side
18*6236dae4SAndroid Build Coastguard Worker<client>
19*6236dae4SAndroid Build Coastguard Worker<server>
20*6236dae4SAndroid Build Coastguard Workerftp
21*6236dae4SAndroid Build Coastguard Worker</server>
22*6236dae4SAndroid Build Coastguard Worker<tool>
23*6236dae4SAndroid Build Coastguard Workerlib%TESTNUMBER
24*6236dae4SAndroid Build Coastguard Worker</tool>
25*6236dae4SAndroid Build Coastguard Worker<name>
26*6236dae4SAndroid Build Coastguard WorkerFTP wildcard download - changed fnmatch, 2x perform (Unix LIST response)
27*6236dae4SAndroid Build Coastguard Worker</name>
28*6236dae4SAndroid Build Coastguard Worker<command>
29*6236dae4SAndroid Build Coastguard Workerftp://%HOSTIP:%FTPPORT/fully_simulated/UNIX/*.txt
30*6236dae4SAndroid Build Coastguard Worker</command>
31*6236dae4SAndroid Build Coastguard Worker</client>
32*6236dae4SAndroid Build Coastguard Worker
33*6236dae4SAndroid Build Coastguard Worker############################################
34*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot"
35*6236dae4SAndroid Build Coastguard Worker<verify>
36*6236dae4SAndroid Build Coastguard Worker<strip>
37*6236dae4SAndroid Build Coastguard WorkerQUIT
38*6236dae4SAndroid Build Coastguard Worker</strip>
39*6236dae4SAndroid Build Coastguard Worker<errorcode>
40*6236dae4SAndroid Build Coastguard Worker0
41*6236dae4SAndroid Build Coastguard Worker</errorcode>
42*6236dae4SAndroid Build Coastguard Worker# THERE SHOULD NOT BE "SIZE"! and one "USER/PASS"
43*6236dae4SAndroid Build Coastguard Worker<protocol>
44*6236dae4SAndroid Build Coastguard WorkerUSER anonymous
45*6236dae4SAndroid Build Coastguard WorkerPASS [email protected]
46*6236dae4SAndroid Build Coastguard WorkerPWD
47*6236dae4SAndroid Build Coastguard WorkerCWD fully_simulated
48*6236dae4SAndroid Build Coastguard WorkerCWD UNIX
49*6236dae4SAndroid Build Coastguard WorkerEPSV
50*6236dae4SAndroid Build Coastguard WorkerTYPE A
51*6236dae4SAndroid Build Coastguard WorkerLIST
52*6236dae4SAndroid Build Coastguard WorkerEPSV
53*6236dae4SAndroid Build Coastguard WorkerTYPE I
54*6236dae4SAndroid Build Coastguard WorkerRETR chmod1
55*6236dae4SAndroid Build Coastguard WorkerEPSV
56*6236dae4SAndroid Build Coastguard WorkerRETR chmod2
57*6236dae4SAndroid Build Coastguard WorkerEPSV
58*6236dae4SAndroid Build Coastguard WorkerRETR chmod3
59*6236dae4SAndroid Build Coastguard WorkerEPSV
60*6236dae4SAndroid Build Coastguard WorkerRETR empty_file.dat
61*6236dae4SAndroid Build Coastguard WorkerEPSV
62*6236dae4SAndroid Build Coastguard WorkerRETR file.txt
63*6236dae4SAndroid Build Coastguard WorkerEPSV
64*6236dae4SAndroid Build Coastguard WorkerRETR someothertext.txt
65*6236dae4SAndroid Build Coastguard WorkerCWD /
66*6236dae4SAndroid Build Coastguard WorkerCWD fully_simulated
67*6236dae4SAndroid Build Coastguard WorkerCWD UNIX
68*6236dae4SAndroid Build Coastguard WorkerEPSV
69*6236dae4SAndroid Build Coastguard WorkerTYPE A
70*6236dae4SAndroid Build Coastguard WorkerLIST
71*6236dae4SAndroid Build Coastguard WorkerEPSV
72*6236dae4SAndroid Build Coastguard WorkerTYPE I
73*6236dae4SAndroid Build Coastguard WorkerRETR chmod1
74*6236dae4SAndroid Build Coastguard WorkerEPSV
75*6236dae4SAndroid Build Coastguard WorkerRETR chmod2
76*6236dae4SAndroid Build Coastguard WorkerEPSV
77*6236dae4SAndroid Build Coastguard WorkerRETR chmod3
78*6236dae4SAndroid Build Coastguard WorkerEPSV
79*6236dae4SAndroid Build Coastguard WorkerRETR empty_file.dat
80*6236dae4SAndroid Build Coastguard WorkerEPSV
81*6236dae4SAndroid Build Coastguard WorkerRETR file.txt
82*6236dae4SAndroid Build Coastguard WorkerEPSV
83*6236dae4SAndroid Build Coastguard WorkerRETR someothertext.txt
84*6236dae4SAndroid Build Coastguard WorkerQUIT
85*6236dae4SAndroid Build Coastguard Worker</protocol>
86*6236dae4SAndroid Build Coastguard Worker<stdout>
87*6236dae4SAndroid Build Coastguard WorkerThis file should have permissions 444
88*6236dae4SAndroid Build Coastguard WorkerThis file should have permissions 666
89*6236dae4SAndroid Build Coastguard WorkerThis file should have permissions 777
90*6236dae4SAndroid Build Coastguard WorkerThis is content of file "file.txt"
91*6236dae4SAndroid Build Coastguard WorkerSome junk ;-) This file does not really exist.
92*6236dae4SAndroid Build Coastguard WorkerThis file should have permissions 444
93*6236dae4SAndroid Build Coastguard WorkerThis file should have permissions 666
94*6236dae4SAndroid Build Coastguard WorkerThis file should have permissions 777
95*6236dae4SAndroid Build Coastguard WorkerThis is content of file "file.txt"
96*6236dae4SAndroid Build Coastguard WorkerSome junk ;-) This file does not really exist.
97*6236dae4SAndroid Build Coastguard Worker</stdout>
98*6236dae4SAndroid Build Coastguard Worker</verify>
99*6236dae4SAndroid Build Coastguard Worker</testcase>
100