xfstests: include test subdirectory support
[xfstests-dev.git] / 062.out
1 QA output created by 062
2 *** create test bed
3 SCRATCH_MNT
4 SCRATCH_MNT/dev
5 SCRATCH_MNT/dev/b
6 SCRATCH_MNT/dev/c
7 SCRATCH_MNT/dev/p
8 SCRATCH_MNT/dir
9 SCRATCH_MNT/lnk
10 SCRATCH_MNT/reg
11
12 === TYPE reg; NAMESPACE user
13
14 *** set/get one initially empty attribute
15 # file: SCRATCH_MNT/reg
16 user.name
17
18 *** overwrite empty, set several new attributes
19 *** fetch several attribute names and values (hex)
20 # file: SCRATCH_MNT/reg
21 user.name=0xbabe
22 user.name2=0xdeadbeef
23 user.name3=0xdeface
24
25 *** fetch several attribute names and values (base64)
26 # file: SCRATCH_MNT/reg
27 user.name=0sur4=
28 user.name2=0s3q2+7w==
29 user.name3=0s3vrO
30
31 *** shrink value of an existing attribute
32 # file: SCRATCH_MNT/reg
33 user.name=0xbabe
34 user.name2=0xdeaf
35 user.name3=0xdeface
36
37 *** grow value of existing attribute
38 # file: SCRATCH_MNT/reg
39 user.name=0xbabe
40 user.name2=0xdecade
41 user.name3=0xdeface
42
43 *** set an empty value for second attribute
44 # file: SCRATCH_MNT/reg
45 user.name2
46
47 *** overwrite empty value
48 # file: SCRATCH_MNT/reg
49 user.name2=0xcafe
50
51 *** remove attribute
52 SCRATCH_MNT/reg: user.name2: No such attribute or operation not permitted
53 *** final list (strings, type=reg, nsp=user)
54 # file: SCRATCH_MNT/reg
55 user.name=0xbabe
56 user.name3=0xdeface
57
58
59 === TYPE dir; NAMESPACE user
60
61 *** set/get one initially empty attribute
62 # file: SCRATCH_MNT/dir
63 user.name
64
65 *** overwrite empty, set several new attributes
66 *** fetch several attribute names and values (hex)
67 # file: SCRATCH_MNT/dir
68 user.name=0xbabe
69 user.name2=0xdeadbeef
70 user.name3=0xdeface
71
72 *** fetch several attribute names and values (base64)
73 # file: SCRATCH_MNT/dir
74 user.name=0sur4=
75 user.name2=0s3q2+7w==
76 user.name3=0s3vrO
77
78 *** shrink value of an existing attribute
79 # file: SCRATCH_MNT/dir
80 user.name=0xbabe
81 user.name2=0xdeaf
82 user.name3=0xdeface
83
84 *** grow value of existing attribute
85 # file: SCRATCH_MNT/dir
86 user.name=0xbabe
87 user.name2=0xdecade
88 user.name3=0xdeface
89
90 *** set an empty value for second attribute
91 # file: SCRATCH_MNT/dir
92 user.name2
93
94 *** overwrite empty value
95 # file: SCRATCH_MNT/dir
96 user.name2=0xcafe
97
98 *** remove attribute
99 SCRATCH_MNT/dir: user.name2: No such attribute or operation not permitted
100 *** final list (strings, type=dir, nsp=user)
101 # file: SCRATCH_MNT/dir
102 user.name=0xbabe
103 user.name3=0xdeface
104
105
106 === TYPE lnk; NAMESPACE user
107
108 *** set/get one initially empty attribute
109 setfattr: SCRATCH_MNT/lnk: Operation not permitted
110 *** overwrite empty, set several new attributes
111 setfattr: SCRATCH_MNT/lnk: Operation not permitted
112 setfattr: SCRATCH_MNT/lnk: Operation not permitted
113 setfattr: SCRATCH_MNT/lnk: Operation not permitted
114 *** fetch several attribute names and values (hex)
115 *** fetch several attribute names and values (base64)
116 *** shrink value of an existing attribute
117 setfattr: SCRATCH_MNT/lnk: Operation not permitted
118 *** grow value of existing attribute
119 setfattr: SCRATCH_MNT/lnk: Operation not permitted
120 *** set an empty value for second attribute
121 setfattr: SCRATCH_MNT/lnk: Operation not permitted
122 SCRATCH_MNT/lnk: user.name2: No such attribute or operation not permitted
123 *** overwrite empty value
124 setfattr: SCRATCH_MNT/lnk: Operation not permitted
125 SCRATCH_MNT/lnk: user.name2: No such attribute or operation not permitted
126 *** remove attribute
127 setfattr: SCRATCH_MNT/lnk: Operation not permitted
128 SCRATCH_MNT/lnk: user.name2: No such attribute or operation not permitted
129 *** final list (strings, type=lnk, nsp=user)
130
131 === TYPE dev/b; NAMESPACE user
132
133 *** set/get one initially empty attribute
134 setfattr: SCRATCH_MNT/dev/b: Operation not permitted
135 *** overwrite empty, set several new attributes
136 setfattr: SCRATCH_MNT/dev/b: Operation not permitted
137 setfattr: SCRATCH_MNT/dev/b: Operation not permitted
138 setfattr: SCRATCH_MNT/dev/b: Operation not permitted
139 *** fetch several attribute names and values (hex)
140 *** fetch several attribute names and values (base64)
141 *** shrink value of an existing attribute
142 setfattr: SCRATCH_MNT/dev/b: Operation not permitted
143 *** grow value of existing attribute
144 setfattr: SCRATCH_MNT/dev/b: Operation not permitted
145 *** set an empty value for second attribute
146 setfattr: SCRATCH_MNT/dev/b: Operation not permitted
147 SCRATCH_MNT/dev/b: user.name2: No such attribute or operation not permitted
148 *** overwrite empty value
149 setfattr: SCRATCH_MNT/dev/b: Operation not permitted
150 SCRATCH_MNT/dev/b: user.name2: No such attribute or operation not permitted
151 *** remove attribute
152 setfattr: SCRATCH_MNT/dev/b: Operation not permitted
153 SCRATCH_MNT/dev/b: user.name2: No such attribute or operation not permitted
154 *** final list (strings, type=dev/b, nsp=user)
155
156 === TYPE dev/c; NAMESPACE user
157
158 *** set/get one initially empty attribute
159 setfattr: SCRATCH_MNT/dev/c: Operation not permitted
160 *** overwrite empty, set several new attributes
161 setfattr: SCRATCH_MNT/dev/c: Operation not permitted
162 setfattr: SCRATCH_MNT/dev/c: Operation not permitted
163 setfattr: SCRATCH_MNT/dev/c: Operation not permitted
164 *** fetch several attribute names and values (hex)
165 *** fetch several attribute names and values (base64)
166 *** shrink value of an existing attribute
167 setfattr: SCRATCH_MNT/dev/c: Operation not permitted
168 *** grow value of existing attribute
169 setfattr: SCRATCH_MNT/dev/c: Operation not permitted
170 *** set an empty value for second attribute
171 setfattr: SCRATCH_MNT/dev/c: Operation not permitted
172 SCRATCH_MNT/dev/c: user.name2: No such attribute or operation not permitted
173 *** overwrite empty value
174 setfattr: SCRATCH_MNT/dev/c: Operation not permitted
175 SCRATCH_MNT/dev/c: user.name2: No such attribute or operation not permitted
176 *** remove attribute
177 setfattr: SCRATCH_MNT/dev/c: Operation not permitted
178 SCRATCH_MNT/dev/c: user.name2: No such attribute or operation not permitted
179 *** final list (strings, type=dev/c, nsp=user)
180
181 === TYPE dev/p; NAMESPACE user
182
183 *** set/get one initially empty attribute
184 setfattr: SCRATCH_MNT/dev/p: Operation not permitted
185 *** overwrite empty, set several new attributes
186 setfattr: SCRATCH_MNT/dev/p: Operation not permitted
187 setfattr: SCRATCH_MNT/dev/p: Operation not permitted
188 setfattr: SCRATCH_MNT/dev/p: Operation not permitted
189 *** fetch several attribute names and values (hex)
190 *** fetch several attribute names and values (base64)
191 *** shrink value of an existing attribute
192 setfattr: SCRATCH_MNT/dev/p: Operation not permitted
193 *** grow value of existing attribute
194 setfattr: SCRATCH_MNT/dev/p: Operation not permitted
195 *** set an empty value for second attribute
196 setfattr: SCRATCH_MNT/dev/p: Operation not permitted
197 SCRATCH_MNT/dev/p: user.name2: No such attribute or operation not permitted
198 *** overwrite empty value
199 setfattr: SCRATCH_MNT/dev/p: Operation not permitted
200 SCRATCH_MNT/dev/p: user.name2: No such attribute or operation not permitted
201 *** remove attribute
202 setfattr: SCRATCH_MNT/dev/p: Operation not permitted
203 SCRATCH_MNT/dev/p: user.name2: No such attribute or operation not permitted
204 *** final list (strings, type=dev/p, nsp=user)
205
206 === TYPE reg; NAMESPACE trusted
207
208 *** set/get one initially empty attribute
209 # file: SCRATCH_MNT/reg
210 trusted.name
211
212 *** overwrite empty, set several new attributes
213 *** fetch several attribute names and values (hex)
214 # file: SCRATCH_MNT/reg
215 trusted.name=0xbabe
216 trusted.name2=0xdeadbeef
217 trusted.name3=0xdeface
218
219 *** fetch several attribute names and values (base64)
220 # file: SCRATCH_MNT/reg
221 trusted.name=0sur4=
222 trusted.name2=0s3q2+7w==
223 trusted.name3=0s3vrO
224
225 *** shrink value of an existing attribute
226 # file: SCRATCH_MNT/reg
227 trusted.name=0xbabe
228 trusted.name2=0xdeaf
229 trusted.name3=0xdeface
230
231 *** grow value of existing attribute
232 # file: SCRATCH_MNT/reg
233 trusted.name=0xbabe
234 trusted.name2=0xdecade
235 trusted.name3=0xdeface
236
237 *** set an empty value for second attribute
238 # file: SCRATCH_MNT/reg
239 trusted.name2
240
241 *** overwrite empty value
242 # file: SCRATCH_MNT/reg
243 trusted.name2=0xcafe
244
245 *** remove attribute
246 SCRATCH_MNT/reg: trusted.name2: No such attribute or operation not permitted
247 *** final list (strings, type=reg, nsp=trusted)
248 # file: SCRATCH_MNT/reg
249 trusted.name=0xbabe
250 trusted.name3=0xdeface
251 user.name=0xbabe
252 user.name3=0xdeface
253
254
255 === TYPE dir; NAMESPACE trusted
256
257 *** set/get one initially empty attribute
258 # file: SCRATCH_MNT/dir
259 trusted.name
260
261 *** overwrite empty, set several new attributes
262 *** fetch several attribute names and values (hex)
263 # file: SCRATCH_MNT/dir
264 trusted.name=0xbabe
265 trusted.name2=0xdeadbeef
266 trusted.name3=0xdeface
267
268 *** fetch several attribute names and values (base64)
269 # file: SCRATCH_MNT/dir
270 trusted.name=0sur4=
271 trusted.name2=0s3q2+7w==
272 trusted.name3=0s3vrO
273
274 *** shrink value of an existing attribute
275 # file: SCRATCH_MNT/dir
276 trusted.name=0xbabe
277 trusted.name2=0xdeaf
278 trusted.name3=0xdeface
279
280 *** grow value of existing attribute
281 # file: SCRATCH_MNT/dir
282 trusted.name=0xbabe
283 trusted.name2=0xdecade
284 trusted.name3=0xdeface
285
286 *** set an empty value for second attribute
287 # file: SCRATCH_MNT/dir
288 trusted.name2
289
290 *** overwrite empty value
291 # file: SCRATCH_MNT/dir
292 trusted.name2=0xcafe
293
294 *** remove attribute
295 SCRATCH_MNT/dir: trusted.name2: No such attribute or operation not permitted
296 *** final list (strings, type=dir, nsp=trusted)
297 # file: SCRATCH_MNT/dir
298 trusted.name=0xbabe
299 trusted.name3=0xdeface
300 user.name=0xbabe
301 user.name3=0xdeface
302
303
304 === TYPE lnk; NAMESPACE trusted
305
306 *** set/get one initially empty attribute
307 # file: SCRATCH_MNT/lnk
308 trusted.name
309
310 *** overwrite empty, set several new attributes
311 *** fetch several attribute names and values (hex)
312 # file: SCRATCH_MNT/lnk
313 trusted.name=0xbabe
314 trusted.name2=0xdeadbeef
315 trusted.name3=0xdeface
316
317 *** fetch several attribute names and values (base64)
318 # file: SCRATCH_MNT/lnk
319 trusted.name=0sur4=
320 trusted.name2=0s3q2+7w==
321 trusted.name3=0s3vrO
322
323 *** shrink value of an existing attribute
324 # file: SCRATCH_MNT/lnk
325 trusted.name=0xbabe
326 trusted.name2=0xdeaf
327 trusted.name3=0xdeface
328
329 *** grow value of existing attribute
330 # file: SCRATCH_MNT/lnk
331 trusted.name=0xbabe
332 trusted.name2=0xdecade
333 trusted.name3=0xdeface
334
335 *** set an empty value for second attribute
336 # file: SCRATCH_MNT/lnk
337 trusted.name2
338
339 *** overwrite empty value
340 # file: SCRATCH_MNT/lnk
341 trusted.name2=0xcafe
342
343 *** remove attribute
344 SCRATCH_MNT/lnk: trusted.name2: No such attribute or operation not permitted
345 *** final list (strings, type=lnk, nsp=trusted)
346 # file: SCRATCH_MNT/lnk
347 trusted.name=0xbabe
348 trusted.name3=0xdeface
349
350
351 === TYPE dev/b; NAMESPACE trusted
352
353 *** set/get one initially empty attribute
354 # file: SCRATCH_MNT/dev/b
355 trusted.name
356
357 *** overwrite empty, set several new attributes
358 *** fetch several attribute names and values (hex)
359 # file: SCRATCH_MNT/dev/b
360 trusted.name=0xbabe
361 trusted.name2=0xdeadbeef
362 trusted.name3=0xdeface
363
364 *** fetch several attribute names and values (base64)
365 # file: SCRATCH_MNT/dev/b
366 trusted.name=0sur4=
367 trusted.name2=0s3q2+7w==
368 trusted.name3=0s3vrO
369
370 *** shrink value of an existing attribute
371 # file: SCRATCH_MNT/dev/b
372 trusted.name=0xbabe
373 trusted.name2=0xdeaf
374 trusted.name3=0xdeface
375
376 *** grow value of existing attribute
377 # file: SCRATCH_MNT/dev/b
378 trusted.name=0xbabe
379 trusted.name2=0xdecade
380 trusted.name3=0xdeface
381
382 *** set an empty value for second attribute
383 # file: SCRATCH_MNT/dev/b
384 trusted.name2
385
386 *** overwrite empty value
387 # file: SCRATCH_MNT/dev/b
388 trusted.name2=0xcafe
389
390 *** remove attribute
391 SCRATCH_MNT/dev/b: trusted.name2: No such attribute or operation not permitted
392 *** final list (strings, type=dev/b, nsp=trusted)
393 # file: SCRATCH_MNT/dev/b
394 trusted.name=0xbabe
395 trusted.name3=0xdeface
396
397
398 === TYPE dev/c; NAMESPACE trusted
399
400 *** set/get one initially empty attribute
401 # file: SCRATCH_MNT/dev/c
402 trusted.name
403
404 *** overwrite empty, set several new attributes
405 *** fetch several attribute names and values (hex)
406 # file: SCRATCH_MNT/dev/c
407 trusted.name=0xbabe
408 trusted.name2=0xdeadbeef
409 trusted.name3=0xdeface
410
411 *** fetch several attribute names and values (base64)
412 # file: SCRATCH_MNT/dev/c
413 trusted.name=0sur4=
414 trusted.name2=0s3q2+7w==
415 trusted.name3=0s3vrO
416
417 *** shrink value of an existing attribute
418 # file: SCRATCH_MNT/dev/c
419 trusted.name=0xbabe
420 trusted.name2=0xdeaf
421 trusted.name3=0xdeface
422
423 *** grow value of existing attribute
424 # file: SCRATCH_MNT/dev/c
425 trusted.name=0xbabe
426 trusted.name2=0xdecade
427 trusted.name3=0xdeface
428
429 *** set an empty value for second attribute
430 # file: SCRATCH_MNT/dev/c
431 trusted.name2
432
433 *** overwrite empty value
434 # file: SCRATCH_MNT/dev/c
435 trusted.name2=0xcafe
436
437 *** remove attribute
438 SCRATCH_MNT/dev/c: trusted.name2: No such attribute or operation not permitted
439 *** final list (strings, type=dev/c, nsp=trusted)
440 # file: SCRATCH_MNT/dev/c
441 trusted.name=0xbabe
442 trusted.name3=0xdeface
443
444
445 === TYPE dev/p; NAMESPACE trusted
446
447 *** set/get one initially empty attribute
448 # file: SCRATCH_MNT/dev/p
449 trusted.name
450
451 *** overwrite empty, set several new attributes
452 *** fetch several attribute names and values (hex)
453 # file: SCRATCH_MNT/dev/p
454 trusted.name=0xbabe
455 trusted.name2=0xdeadbeef
456 trusted.name3=0xdeface
457
458 *** fetch several attribute names and values (base64)
459 # file: SCRATCH_MNT/dev/p
460 trusted.name=0sur4=
461 trusted.name2=0s3q2+7w==
462 trusted.name3=0s3vrO
463
464 *** shrink value of an existing attribute
465 # file: SCRATCH_MNT/dev/p
466 trusted.name=0xbabe
467 trusted.name2=0xdeaf
468 trusted.name3=0xdeface
469
470 *** grow value of existing attribute
471 # file: SCRATCH_MNT/dev/p
472 trusted.name=0xbabe
473 trusted.name2=0xdecade
474 trusted.name3=0xdeface
475
476 *** set an empty value for second attribute
477 # file: SCRATCH_MNT/dev/p
478 trusted.name2
479
480 *** overwrite empty value
481 # file: SCRATCH_MNT/dev/p
482 trusted.name2=0xcafe
483
484 *** remove attribute
485 SCRATCH_MNT/dev/p: trusted.name2: No such attribute or operation not permitted
486 *** final list (strings, type=dev/p, nsp=trusted)
487 # file: SCRATCH_MNT/dev/p
488 trusted.name=0xbabe
489 trusted.name3=0xdeface
490
491
492
493 *** extend test bed
494 SCRATCH_MNT
495 SCRATCH_MNT/descend
496 SCRATCH_MNT/descend/and
497 SCRATCH_MNT/descend/down
498 SCRATCH_MNT/descend/down/here
499 SCRATCH_MNT/dev
500 SCRATCH_MNT/dev/b
501 SCRATCH_MNT/dev/c
502 SCRATCH_MNT/dev/p
503 SCRATCH_MNT/dir
504 SCRATCH_MNT/here
505 SCRATCH_MNT/here/up
506 SCRATCH_MNT/here/up/ascend
507 SCRATCH_MNT/lnk
508 SCRATCH_MNT/reg
509
510 *** directory descent with us following symlinks
511 # file: SCRATCH_MNT/descend
512 user.1=0x3233
513 user.x=0x797a
514
515 # file: SCRATCH_MNT/descend/and/ascend
516 trusted.9=0x3837
517 trusted.a=0x6263
518
519 # file: SCRATCH_MNT/descend/down
520 user.1=0x3233
521 user.x=0x797a
522
523 # file: SCRATCH_MNT/descend/down/here
524 user.1=0x3233
525 user.x=0x797a
526
527 # file: SCRATCH_MNT/dev/b
528 trusted.name=0xbabe
529 trusted.name3=0xdeface
530
531 # file: SCRATCH_MNT/dev/c
532 trusted.name=0xbabe
533 trusted.name3=0xdeface
534
535 # file: SCRATCH_MNT/dev/p
536 trusted.name=0xbabe
537 trusted.name3=0xdeface
538
539 # file: SCRATCH_MNT/dir
540 trusted.name=0xbabe
541 trusted.name3=0xdeface
542 user.name=0xbabe
543 user.name3=0xdeface
544
545 # file: SCRATCH_MNT/here
546 trusted.9=0x3837
547 trusted.a=0x6263
548
549 # file: SCRATCH_MNT/here/up
550 trusted.9=0x3837
551 trusted.a=0x6263
552
553 # file: SCRATCH_MNT/here/up/ascend
554 trusted.9=0x3837
555 trusted.a=0x6263
556
557 # file: SCRATCH_MNT/lnk
558 trusted.name=0xbabe
559 trusted.name3=0xdeface
560
561 # file: SCRATCH_MNT/reg
562 trusted.name=0xbabe
563 trusted.name3=0xdeface
564 user.name=0xbabe
565 user.name3=0xdeface
566
567
568 *** directory descent without following symlinks
569 # file: SCRATCH_MNT/descend
570 user.1=0x3233
571 user.x=0x797a
572
573 # file: SCRATCH_MNT/descend/down
574 user.1=0x3233
575 user.x=0x797a
576
577 # file: SCRATCH_MNT/descend/down/here
578 user.1=0x3233
579 user.x=0x797a
580
581 # file: SCRATCH_MNT/dev/b
582 trusted.name=0xbabe
583 trusted.name3=0xdeface
584
585 # file: SCRATCH_MNT/dev/c
586 trusted.name=0xbabe
587 trusted.name3=0xdeface
588
589 # file: SCRATCH_MNT/dev/p
590 trusted.name=0xbabe
591 trusted.name3=0xdeface
592
593 # file: SCRATCH_MNT/dir
594 trusted.name=0xbabe
595 trusted.name3=0xdeface
596 user.name=0xbabe
597 user.name3=0xdeface
598
599 # file: SCRATCH_MNT/here
600 trusted.9=0x3837
601 trusted.a=0x6263
602
603 # file: SCRATCH_MNT/here/up
604 trusted.9=0x3837
605 trusted.a=0x6263
606
607 # file: SCRATCH_MNT/here/up/ascend
608 trusted.9=0x3837
609 trusted.a=0x6263
610
611 # file: SCRATCH_MNT/lnk
612 trusted.name=0xbabe
613 trusted.name3=0xdeface
614
615 # file: SCRATCH_MNT/reg
616 trusted.name=0xbabe
617 trusted.name3=0xdeface
618 user.name=0xbabe
619 user.name3=0xdeface
620
621
622
623 *** backup everything
624 *** clear out the scratch device
625 *** reset test bed with no extended attributes
626 *** create test bed
627 SCRATCH_MNT
628 SCRATCH_MNT/dev
629 SCRATCH_MNT/dev/b
630 SCRATCH_MNT/dev/c
631 SCRATCH_MNT/dev/p
632 SCRATCH_MNT/dir
633 SCRATCH_MNT/lnk
634 SCRATCH_MNT/reg
635 *** extend test bed
636 SCRATCH_MNT
637 SCRATCH_MNT/descend
638 SCRATCH_MNT/descend/and
639 SCRATCH_MNT/descend/down
640 SCRATCH_MNT/descend/down/here
641 SCRATCH_MNT/dev
642 SCRATCH_MNT/dev/b
643 SCRATCH_MNT/dev/c
644 SCRATCH_MNT/dev/p
645 SCRATCH_MNT/dir
646 SCRATCH_MNT/here
647 SCRATCH_MNT/here/up
648 SCRATCH_MNT/here/up/ascend
649 SCRATCH_MNT/lnk
650 SCRATCH_MNT/reg
651 *** restore everything
652 *** compare before and after backups
653
654 *** unmount