1 | *** BEGIN OF TEST FSRENAME MOUNTED IMFS *** |
---|
2 | Initializing filesystem MOUNTED IMFS |
---|
3 | |
---|
4 | Old is a simbolic link and rename operates on the simbolic link itself |
---|
5 | |
---|
6 | Testing rename with arguments: symlink01, name02 EXPECT "0" |
---|
7 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 78 |
---|
8 | Testing lstat with arguments: name02, &statbuf EXPECT "0" |
---|
9 | PASS |
---|
10 | Testing if name02 is now a symlink |
---|
11 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 86 |
---|
12 | Testing unlink with arguments: name01 EXPECT "0" |
---|
13 | PASS |
---|
14 | Testing unlink with arguments: name02 EXPECT "0" |
---|
15 | PASS |
---|
16 | Testing unlink with arguments: symlink01 EXPECT "-1" |
---|
17 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 94 |
---|
18 | |
---|
19 | New is a simbolic link and rename operates on the simbolic link itself |
---|
20 | |
---|
21 | Testing rename with arguments: name02, symlink01 EXPECT "0" |
---|
22 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 116 |
---|
23 | Testing lstat with arguments: symlink01, &statbuf EXPECT "0" |
---|
24 | PASS |
---|
25 | Testing that symlink01 is not a symlink |
---|
26 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 124 |
---|
27 | Testing unlink with arguments: name01 EXPECT "0" |
---|
28 | PASS |
---|
29 | Testing unlink with arguments: name02 EXPECT "-1" |
---|
30 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 131 |
---|
31 | Testing unlink with arguments: symlink01 EXPECT "0" |
---|
32 | PASS |
---|
33 | |
---|
34 | Testing with symbolic link loop's |
---|
35 | |
---|
36 | Testing rename with arguments: "path01, name01" EXPECT "ELOOP" |
---|
37 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 149 |
---|
38 | Testing rename with arguments: "path01, name01" EXPECT "ELOOP" |
---|
39 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 152 |
---|
40 | Testing unlink with arguments: name01 EXPECT "-1" |
---|
41 | PASS |
---|
42 | Testing unlink with arguments: symlink01 EXPECT "0" |
---|
43 | PASS |
---|
44 | Testing unlink with arguments: symlink02 EXPECT "0" |
---|
45 | PASS |
---|
46 | Testing rename with arguments: "name01, path01" EXPECT "ELOOP" |
---|
47 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 180 |
---|
48 | Testing rename with arguments: "name01, path01" EXPECT "ELOOP" |
---|
49 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 183 |
---|
50 | Testing unlink with arguments: name01 EXPECT "0" |
---|
51 | PASS |
---|
52 | Testing unlink with arguments: symlink01 EXPECT "0" |
---|
53 | PASS |
---|
54 | Testing unlink with arguments: symlink02 EXPECT "0" |
---|
55 | PASS |
---|
56 | |
---|
57 | Rename file with itself |
---|
58 | |
---|
59 | Testing rename with arguments: name01, name01 EXPECT "0" |
---|
60 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 244 |
---|
61 | Testing unlink with arguments: name01 EXPECT "0" |
---|
62 | PASS |
---|
63 | |
---|
64 | Rename file with itself through a hard link in another directory |
---|
65 | |
---|
66 | Testing rename with arguments: name01, path01 EXPECT "0" |
---|
67 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 271 |
---|
68 | Testing unlink with arguments: name01 EXPECT "0" |
---|
69 | PASS |
---|
70 | Testing unlink with arguments: path01 EXPECT "0" |
---|
71 | PASS |
---|
72 | Testing rmdir with arguments: dir01 EXPECT "0" |
---|
73 | PASS |
---|
74 | |
---|
75 | Rename directory with file |
---|
76 | |
---|
77 | Testing rename with arguments: "dir01, name01" EXPECT "ENOTDIR" |
---|
78 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 343 |
---|
79 | Testing unlink with arguments: name01 EXPECT "0" |
---|
80 | PASS |
---|
81 | Testing rmdir with arguments: dir01 EXPECT "0" |
---|
82 | PASS |
---|
83 | |
---|
84 | Rename file with directory |
---|
85 | |
---|
86 | Testing rename with arguments: "name01, dir01" EXPECT "EISDIR" |
---|
87 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 367 |
---|
88 | Testing unlink with arguments: name01 EXPECT "0" |
---|
89 | PASS |
---|
90 | Testing rmdir with arguments: dir01 EXPECT "0" |
---|
91 | PASS |
---|
92 | |
---|
93 | Rename directory with ancestor directory |
---|
94 | |
---|
95 | Testing rename with arguments: "dir02, path01" EXPECT "EINVAL" |
---|
96 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 390 |
---|
97 | Testing rmdir with arguments: path01 EXPECT "0" |
---|
98 | PASS |
---|
99 | Testing rmdir with arguments: dir02 EXPECT "0" |
---|
100 | PASS |
---|
101 | |
---|
102 | Rename directory with non empty directory |
---|
103 | |
---|
104 | Testing rename with arguments: dir01, dir02 EXPECT "-1" |
---|
105 | PASS |
---|
106 | Testing errno for EEXIST or ENOTEMPTY |
---|
107 | PASS |
---|
108 | Testing unlink with arguments: path01 EXPECT "0" |
---|
109 | PASS |
---|
110 | Testing rmdir with arguments: dir01 EXPECT "0" |
---|
111 | PASS |
---|
112 | Testing rmdir with arguments: dir02 EXPECT "0" |
---|
113 | PASS |
---|
114 | |
---|
115 | Rename empty directory with another empty directory |
---|
116 | |
---|
117 | Testing rename with arguments: dir01, dir02 EXPECT "0" |
---|
118 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 448 |
---|
119 | Testing rmdir with arguments: dir01 EXPECT "-1" |
---|
120 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 454 |
---|
121 | Testing rmdir with arguments: dir02 EXPECT "0" |
---|
122 | PASS |
---|
123 | Testing rename with arguments: "dir02, path01" EXPECT "EMLINK" |
---|
124 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 483 |
---|
125 | Testing rmdir with arguments: path01 EXPECT "-1" |
---|
126 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 497 |
---|
127 | Testing rmdir with arguments: dir02 EXPECT "0" |
---|
128 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 498 |
---|
129 | Testing rmdir with arguments: dir01 EXPECT "0" |
---|
130 | PASS |
---|
131 | |
---|
132 | Rename files within directories protected with S_ISVTX |
---|
133 | |
---|
134 | Testing rename with arguments: path01, name02 EXPECT "-1" |
---|
135 | PASS |
---|
136 | Testing errno for EPERM or EACCES |
---|
137 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 535 |
---|
138 | Testing unlink with arguments: path01 EXPECT "0" |
---|
139 | PASS |
---|
140 | Testing unlink with arguments: name02 EXPECT "0" |
---|
141 | PASS |
---|
142 | Testing rmdir with arguments: dir01 EXPECT "0" |
---|
143 | PASS |
---|
144 | Testing rename with arguments: name02, path01 EXPECT "-1" |
---|
145 | PASS |
---|
146 | Testing errno for EPERM or EACCES |
---|
147 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 577 |
---|
148 | Testing unlink with arguments: path01 EXPECT "0" |
---|
149 | PASS |
---|
150 | Testing unlink with arguments: name02 EXPECT "0" |
---|
151 | PASS |
---|
152 | Testing rmdir with arguments: dir01 EXPECT "0" |
---|
153 | PASS |
---|
154 | |
---|
155 | Rename file with non existant file |
---|
156 | |
---|
157 | Testing rename with arguments: name01, name02 EXPECT "0" |
---|
158 | PASS |
---|
159 | Testing unlink with arguments: name01 EXPECT "-1" |
---|
160 | PASS |
---|
161 | Testing unlink with arguments: name02 EXPECT "0" |
---|
162 | PASS |
---|
163 | Testing rename with arguments: "name02, name01" EXPECT "ENOENT" |
---|
164 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 660 |
---|
165 | Testing unlink with arguments: name01 EXPECT "0" |
---|
166 | PASS |
---|
167 | Testing unlink with arguments: name02 EXPECT "-1" |
---|
168 | PASS |
---|
169 | |
---|
170 | Rename file with non existant filepath |
---|
171 | |
---|
172 | Testing rename with arguments: "path01, name01" EXPECT "ENOENT" |
---|
173 | PASS |
---|
174 | Testing unlink with arguments: name01 EXPECT "-1" |
---|
175 | PASS |
---|
176 | Testing rmdir with arguments: dir01 EXPECT "0" |
---|
177 | PASS |
---|
178 | |
---|
179 | Rename directory with non existant directory |
---|
180 | |
---|
181 | Testing rename with arguments: dir01, dir02 EXPECT "0" |
---|
182 | PASS |
---|
183 | Testing rmdir with arguments: dir01 EXPECT "-1" |
---|
184 | PASS |
---|
185 | Testing rmdir with arguments: dir02 EXPECT "0" |
---|
186 | PASS |
---|
187 | |
---|
188 | Rename file with a name size exceeding NAME_MAX |
---|
189 | |
---|
190 | Testing rename with arguments: "name01, filename" EXPECT "ENAMETOOLONG" |
---|
191 | PASS |
---|
192 | Testing unlink with arguments: name01 EXPECT "0" |
---|
193 | PASS |
---|
194 | Testing unlink with arguments: filename EXPECT "-1" |
---|
195 | PASS |
---|
196 | |
---|
197 | Rename directory with current directory |
---|
198 | |
---|
199 | Testing rename with arguments: "." , dir01 EXPECT "-1" |
---|
200 | PASS |
---|
201 | Testing errno for EINVAL or EBUSY |
---|
202 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 787 |
---|
203 | Testing rename with arguments: dir01, "." EXPECT "-1" |
---|
204 | PASS |
---|
205 | Testing errno for EINVAL or EBUSY |
---|
206 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 801 |
---|
207 | |
---|
208 | Rename directory with previous directory |
---|
209 | |
---|
210 | Testing rename with arguments: ".." , dir01 EXPECT "-1" |
---|
211 | PASS |
---|
212 | Testing errno for EINVAL or EBUSY |
---|
213 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 817 |
---|
214 | Testing rename with arguments: dir01, ".." EXPECT "-1" |
---|
215 | PASS |
---|
216 | Testing errno for EINVAL or EBUSY |
---|
217 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 831 |
---|
218 | Testing rmdir with arguments: dir01 EXPECT "0" |
---|
219 | PASS |
---|
220 | |
---|
221 | Testing empty filepaths |
---|
222 | |
---|
223 | Testing rename with arguments: "name01, \"\"" EXPECT "ENOENT" |
---|
224 | PASS |
---|
225 | Testing with arguments: name01 EXPECT "0" |
---|
226 | PASS |
---|
227 | Testing rename with arguments: "\"\", name01" EXPECT "ENOENT" |
---|
228 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 869 |
---|
229 | Testing with arguments: name01 EXPECT "0" |
---|
230 | PASS |
---|
231 | |
---|
232 | Rename two files on a directory with no write permission |
---|
233 | |
---|
234 | Testing rename with arguments: "name01 , name02" EXPECT "EACCES" |
---|
235 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 947 |
---|
236 | |
---|
237 | Rename file between two directories, with and without write access |
---|
238 | |
---|
239 | Testing rename with arguments: "name01, path01" EXPECT "EACCES" |
---|
240 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 971 |
---|
241 | Testing rename with arguments: "path01, name01" EXPECT "EACCES" |
---|
242 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 978 |
---|
243 | Testing with arguments: name01 EXPECT "0" |
---|
244 | PASS |
---|
245 | Testing with arguments: path01 EXPECT "0" |
---|
246 | PASS |
---|
247 | Testing with arguments: path01 EXPECT "0" |
---|
248 | PASS |
---|
249 | Testing rmdir with arguments: dir01 EXPECT "0" |
---|
250 | PASS |
---|
251 | Testing rmdir with arguments: dir02 EXPECT "0" |
---|
252 | PASS |
---|
253 | |
---|
254 | Rename two files on a directory with no execute permission |
---|
255 | |
---|
256 | Testing rename with arguments: "path01 , path02" EXPECT "EACCES" |
---|
257 | PASS |
---|
258 | |
---|
259 | Rename file between two directories, with and without execute access |
---|
260 | |
---|
261 | Testing rename with arguments: "path01, path02" EXPECT "EACCES" |
---|
262 | PASS |
---|
263 | Testing rename with arguments: "path02, path01" EXPECT "EACCES" |
---|
264 | FAIL testsuites/fstests/mimfs_fsrename/../fsrename/test.c: 1103 |
---|
265 | Testing with arguments: path01 EXPECT "0" |
---|
266 | PASS |
---|
267 | Testing with arguments: path01 EXPECT "0" |
---|
268 | PASS |
---|
269 | Testing with arguments: path02 EXPECT "0" |
---|
270 | PASS |
---|
271 | Testing rmdir with arguments: dir01 EXPECT "0" |
---|
272 | PASS |
---|
273 | Testing rmdir with arguments: dir02 EXPECT "0" |
---|
274 | PASS |
---|
275 | |
---|
276 | Rename files across diferent filesystems |
---|
277 | |
---|
278 | Testing rename with arguments: "name01, path01" EXPECT "EXDEV" |
---|
279 | PASS |
---|
280 | Testing with arguments: path01 EXPECT "-1" |
---|
281 | PASS |
---|
282 | Testing with arguments: name01 EXPECT "0" |
---|
283 | PASS |
---|
284 | |
---|
285 | |
---|
286 | Shutting down filesystem MOUNTED IMFS |
---|
287 | *** END OF TEST FSRENAME MOUNTED IMFS *** |
---|