summaryrefslogtreecommitdiff
path: root/tests/data/test576
blob: 74a3aedd13ba0ff151d15ef9cfcac3caffed9d7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<testcase>
<info>
<keywords>
FTP
wildcardmatch
ftplistparser
</keywords>
</info>

# Server-side
<reply>
<data>
</data>
</reply>

# Client-side
<client>
<server>
ftp
</server>
<tool>
lib576
</tool>
 <name>
FTP wildcard download - skip/parser_correctness/CURLOPT_FNMATCH_FUNCTION (Unix)
 </name>
 <command>
ftp://%HOSTIP:%FTPPORT/fully_simulated/UNIX/*
</command>
</client>

# Verify data after the test has been "shot"
<verify>
<errorcode>
0
</errorcode>
<stdout>
=============================================================
Remains:      14
Filename:     .
Permissions:  rwxrwxrwx (parsed => 777)
Size:         20480B
User:         ftp-default
Group:        ftp-default
Time:         Apr 27  5:12
Filetype:     directory
=============================================================
Remains:      13
Filename:     ..
Permissions:  rwxrwxrwx (parsed => 777)
Size:         20480B
User:         ftp-default
Group:        ftp-default
Time:         Apr 23  3:12
Filetype:     directory
=============================================================
Remains:      12
Filename:     chmod1
Permissions:  r--r--r-- (parsed => 444)
Size:         38B
User:         ftp-default
Group:        ftp-default
Time:         Jan 11 10:00
Filetype:     regular file
Content:
-------------------------------------------------------------
This file should have permissions 444
-------------------------------------------------------------
=============================================================
Remains:      11
Filename:     chmod2
Permissions:  rw-rw-rw- (parsed => 666)
Size:         38B
User:         ftp-default
Group:        ftp-default
Time:         Feb  1  8:00
Filetype:     regular file
Content:
-------------------------------------------------------------
This file should have permissions 666
-------------------------------------------------------------
=============================================================
Remains:      10
Filename:     chmod3
Permissions:  rwxrwxrwx (parsed => 777)
Size:         38B
User:         ftp-default
Group:        ftp-default
Time:         Feb  1  8:00
Filetype:     regular file
Content:
-------------------------------------------------------------
This file should have permissions 777
-------------------------------------------------------------
=============================================================
Remains:      9
Filename:     chmod4
Permissions:  --S--S--t (parsed => 7001)
Size:         4096B
User:         ftp-default
Group:        ftp-default
Time:         May  4  4:31
Filetype:     directory
=============================================================
Remains:      8
Filename:     chmod5
Permissions:  --s--s--T (parsed => 7110)
Size:         4096B
User:         ftp-default
Group:        ftp-default
Time:         May  4  4:31
Filetype:     directory
=============================================================
Remains:      7
Filename:     empty_file.dat
Permissions:  rw-r--r-- (parsed => 644)
Size:         0B
User:         ftp-default
Group:        ftp-default
Time:         Apr 27 11:01
Filetype:     regular file
Content:
-------------------------------------------------------------
-------------------------------------------------------------
=============================================================
Remains:      6
Filename:     file.txt
Permissions:  rw-r--r-- (parsed => 644)
Size:         35B
User:         ftp-default
Group:        ftp-default
Time:         Apr 27 11:01
Filetype:     regular file
Content:
-------------------------------------------------------------
This is content of file "file.txt"
-------------------------------------------------------------
=============================================================
Remains:      5
Filename:     link
Permissions:  rwxrwxrwx (parsed => 777)
Size:         0B
User:         ftp-default
Group:        ftp-default
Time:         Jan  6  4:42
Filetype:     symlink
Target:       file.txt
=============================================================
Remains:      4
Filename:     link_absolute
Permissions:  rwxrwxrwx (parsed => 777)
Size:         0B
User:         ftp-default
Group:        ftp-default
Time:         Jan  6  4:45
Filetype:     symlink
Target:       /data/ftp/file.txt
=============================================================
Remains:      3
Filename:     .NeXT
Permissions:  rwxrwxrwx (parsed => 777)
Size:         4096B
User:         ftp-default
Group:        ftp-default
Time:         Jan 23  2:05
Filetype:     directory
=============================================================
Remains:      2
Filename:     someothertext.txt
Permissions:  rw-r--r-- (parsed => 644)
Size:         47B
User:         ftp-default
Group:        ftp-default
Time:         Apr 27 11:01
Filetype:     regular file
Content:
-------------------------------------------------------------
# THIS CONTENT WAS SKIPPED IN CHUNK_BGN CALLBACK #
-------------------------------------------------------------
=============================================================
Remains:      1
Filename:     weirddir.txt
Permissions:  rwxr-xrwx (parsed => 757)
Size:         4096B
User:         ftp-default
Group:        ftp-default
Time:         Apr 23  3:12
Filetype:     directory
=============================================================
</stdout>
</verify>
</testcase>