Merge of xfs-cmds-2.4.18:slinx:111985a by nathans.
[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 *** list empty file
9    *** print attributes
10 *** query non-existant attribute
11 attr_get: No data available
12 Could not get "nonexistant" for <TESTFILE>
13 *** one attribute
14 Attribute "fish" set to a 5 byte value for <TESTFILE>:
15 fish
16
17    *** print attributes
18 # file: <TESTFILE>
19 user.fish="fish\012"
20
21 *** replace attribute
22 Attribute "fish" set to a 6 byte value for <TESTFILE>:
23 fish3
24
25    *** print attributes
26 # file: <TESTFILE>
27 user.fish="fish3\012"
28
29 *** add attribute
30 Attribute "snrub" set to a 6 byte value for <TESTFILE>:
31 fish2
32
33    *** print attributes
34 # file: <TESTFILE>
35 user.fish="fish3\012"
36 user.snrub="fish2\012"
37
38 *** remove attribute
39    *** print attributes
40 # file: <TESTFILE>
41 user.snrub="fish2\012"
42
43 *** add lots of attributes
44 *** check
45    *** 1000 attribute(s)
46 *** remove lots of attributes
47    *** print attributes
48 # file: <TESTFILE>
49 user.snrub="fish2\012"
50
51 *** really long value
52 0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
53 *
54 0200000 0a
55 0200001
56 *** set/get/remove really long names (expect failure)
57 attr_set: Invalid argument
58 Could not set "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" for <TESTFILE>
59 attr_get: Invalid argument
60 Could not get "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" for <TESTFILE>
61 attr_remove: Invalid argument
62 Could not remove "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" for <TESTFILE>
63 *** check final
64    *** print attributes
65 # file: <TESTFILE>
66 user.snrub="fish2\012"
67
68 *** delete