minor reorg of some bits of code to match kernel changes, no biggie.
[xfstests-dev.git] / 020.out
1 QA output created by 020
2 *** list non-existant file
3    *** print attributes
4 getfattr: <TESTFILE>: No such file or directory
5       !!! error return
6 *** list non-xfs file (in /proc)
7    *** print attributes
8 getfattr: <PROCFILE>: Operation not supported
9       !!! error return
10 *** list empty file
11    *** print attributes
12 *** query non-existant attribute
13 attr_get: No data available
14 Could not get "nonexistant" for <TESTFILE>
15 *** one attribute
16 Attribute "fish" set to a 5 byte value for <TESTFILE>:
17 fish
18
19    *** print attributes
20 # file: <TESTFILE>
21 user.fish="fish\012"
22
23 *** replace attribute
24 Attribute "fish" set to a 6 byte value for <TESTFILE>:
25 fish3
26
27    *** print attributes
28 # file: <TESTFILE>
29 user.fish="fish3\012"
30
31 *** add attribute
32 Attribute "snrub" set to a 6 byte value for <TESTFILE>:
33 fish2
34
35    *** print attributes
36 # file: <TESTFILE>
37 user.fish="fish3\012"
38 user.snrub="fish2\012"
39
40 *** remove attribute
41    *** print attributes
42 # file: <TESTFILE>
43 user.snrub="fish2\012"
44
45 *** add lots of attributes
46 *** check
47    *** 1000 attribute(s)
48 *** remove lots of attributes
49    *** print attributes
50 # file: <TESTFILE>
51 user.snrub="fish2\012"
52
53 *** really long value
54 0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
55 *
56 0200000 0a
57 0200001
58 *** set/get/remove really long names (expect failure)
59 attr_set: Invalid argument
60 Could not set "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" for <TESTFILE>
61 attr_get: Invalid argument
62 Could not get "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" for <TESTFILE>
63 attr_remove: Invalid argument
64 Could not remove "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" for <TESTFILE>
65 *** check final
66    *** print attributes
67 # file: <TESTFILE>
68 user.snrub="fish2\012"
69
70 *** delete