QA test to demonstrate unwritten extent/mmap write problem
[xfstests-dev.git] / 097.out.udf
1 QA output created by 097
2 create file foo
3 should be no EAs for foo:
4 set EA <noise,woof>:
5 Attribute "noise" set to a 4 byte value for foo:
6 woof
7 set EA <colour,blue>:
8 Attribute "colour" set to a 4 byte value for foo:
9 blue
10 set EA <size,small>:
11 Attribute "size" set to a 5 byte value for foo:
12 small
13 list the EAs for foo: noise, colour, size
14 Attribute "noise" has a 4 byte value for foo
15 Attribute "colour" has a 4 byte value for foo
16 Attribute "size" has a 5 byte value for foo
17 check the list again for foo
18 Attribute "noise" has a 4 byte value for foo
19 Attribute "colour" has a 4 byte value for foo
20 Attribute "size" has a 5 byte value for foo
21 unmount the FS and see if EAs are persistent
22 check the list again for foo after umount/mount
23 Attribute "noise" has a 4 byte value for foo
24 Attribute "colour" has a 4 byte value for foo
25 Attribute "size" has a 5 byte value for foo
26 get the value of the noise EA
27 Attribute "noise" had a 4 byte value for foo:
28 woof
29 get the value of the colour EA which was removed earlier
30 Attribute "colour" had a 4 byte value for foo:
31 blue
32 get the value of the size EA
33 Attribute "size" had a 5 byte value for foo:
34 small
35 remove the colour EA on foo
36 list EAs for foo: noise, size
37 Attribute "noise" has a 4 byte value for foo
38 Attribute "size" has a 5 byte value for foo
39 get the value of the noise EA
40 Attribute "noise" had a 4 byte value for foo:
41 woof
42 get the value of the colour EA which was removed earlier
43 attr_get: Attribute not found
44 Could not get "colour" for foo
45 get the value of the size EA
46 Attribute "size" had a 5 byte value for foo:
47 small
48 list all the EAs again: noise, size
49 Attribute "noise" has a 4 byte value for foo
50 Attribute "size" has a 5 byte value for foo
51 change the value of the size EA from small to huge
52 Attribute "size" set to a 4 byte value for foo:
53 huge
54 get the size EA which should now have value huge
55 Attribute "size" had a 4 byte value for foo:
56 huge
57 list EAs: noise, size
58 Attribute "noise" has a 4 byte value for foo
59 Attribute "size" has a 4 byte value for foo
60 remove the size EA from foo
61 list EAs: noise (size EA has been removed)
62 Attribute "noise" has a 4 byte value for foo
63 get the noise EA: woof
64 Attribute "noise" had a 4 byte value for foo:
65 woof
66 try removing non-existent EA named woof
67 attr_remove: Attribute not found
68 Could not remove "woof" for foo
69 try removing already removed EA size
70 attr_remove: Attribute not found
71 Could not remove "size" for foo
72 list EAs: noise
73 Attribute "noise" has a 4 byte value for foo
74 try removing already removed EA colour
75 attr_remove: Attribute not found
76 Could not remove "colour" for foo
77 list EAs: noise
78 Attribute "noise" has a 4 byte value for foo
79 remove remaining EA noise
80 list EAs: should be no EAs left now
81 unmount the FS and see if EAs are persistent
82 list EAs: should still be no EAs left
83
84 *** Test out the root namespace ***
85
86 set EA <root:colour,marone>:
87 Attribute "colour" set to a 6 byte value for foo:
88 marone
89 set EA <user:colour,beige>:
90 Attribute "colour" set to a 5 byte value for foo:
91 beige
92 set EA <user:vomit,pizza>:
93 Attribute "vomit" set to a 5 byte value for foo:
94 pizza
95 set EA <root:noise,whack>:
96 Attribute "noise" set to a 5 byte value for foo:
97 whack
98 list root EAs: <root:colour,noise>:
99 Attribute "colour" has a 6 byte value for foo
100 Attribute "noise" has a 5 byte value for foo
101 list user EAs: <user:colour,vomit>:
102 Attribute "colour" has a 5 byte value for foo
103 Attribute "vomit" has a 5 byte value for foo
104 get root EA colour: marone
105 Attribute "colour" had a 6 byte value for foo:
106 marone
107 get root EA noise: whack
108 Attribute "noise" had a 5 byte value for foo:
109 whack
110 get root EA vomit which is a user EA => find nothing
111 attr_get: Attribute not found
112 Could not get "vomit" for foo
113
114 unmount the FS and see if EAs are persistent
115
116 get root EA colour: marone
117 Attribute "colour" had a 6 byte value for foo:
118 marone
119 get root EA noise: whack
120 Attribute "noise" had a 5 byte value for foo:
121 whack
122 get user EA vomit: pizza
123 Attribute "vomit" had a 5 byte value for foo:
124 pizza
125 remove the root colour EA
126 list root EAs: <root:noise>:
127 Attribute "noise" has a 5 byte value for foo
128 list user EAs: <user:colour,vomit>:
129 Attribute "colour" has a 5 byte value for foo
130 Attribute "vomit" has a 5 byte value for foo
131 remove the final root EA noise
132 list root EAs: none