tests: remove udf/101
[xfstests-dev.git] / tests / generic / 097.out
1 QA output created by 097
2
3 create file foo
4
5 should be no EAs for foo:
6
7 set EA <noise,woof>:
8
9 set EA <colour,blue>:
10
11 set EA <size,small>:
12
13 list the EAs for foo: noise, colour, size
14 # file: TEST_DIR/foo
15 user.colour="blue"
16 user.noise="woof"
17 user.size="small"
18
19
20 check the list again for foo
21 # file: TEST_DIR/foo
22 user.colour="blue"
23 user.noise="woof"
24 user.size="small"
25
26
27 unmount the FS and see if EAs are persistent
28
29 check the list again for foo after umount/mount
30 # file: TEST_DIR/foo
31 user.colour="blue"
32 user.noise="woof"
33 user.size="small"
34
35
36 remove the colour EA on foo
37
38 list EAs for foo: noise, size
39 # file: TEST_DIR/foo
40 user.noise="woof"
41 user.size="small"
42
43
44 get the value of the noise EA
45 # file: TEST_DIR/foo
46 user.noise="woof"
47
48
49 get the value of the colour EA which was removed earlier
50 TEST_DIR/foo: user.colour: No such attribute
51
52 get the value of the size EA
53 # file: TEST_DIR/foo
54 user.size="small"
55
56
57 list all the EAs again: noise, size
58 # file: TEST_DIR/foo
59 user.noise="woof"
60 user.size="small"
61
62
63 change the value of the size EA from small to huge
64
65 get the size EA which should now have value huge
66 # file: TEST_DIR/foo
67 user.size="huge"
68
69
70 list EAs: noise, size
71 # file: TEST_DIR/foo
72 user.noise="woof"
73 user.size="huge"
74
75
76 remove the size EA from foo
77
78 list EAs: noise (size EA has been removed)
79 # file: TEST_DIR/foo
80 user.noise="woof"
81
82
83 try removing non-existent EA named woof
84 setfattr: TEST_DIR/foo: No such attribute
85
86 try removing already removed EA size
87 setfattr: TEST_DIR/foo: No such attribute
88
89 list EAs: noise
90 # file: TEST_DIR/foo
91 user.noise="woof"
92
93
94 try removing already removed EA colour
95 setfattr: TEST_DIR/foo: No such attribute
96
97 list EAs: noise
98 # file: TEST_DIR/foo
99 user.noise="woof"
100
101
102 remove remaining EA noise
103
104 list EAs: should be no EAs left now
105
106 unmount the FS and see if EAs are persistent
107
108 list EAs: should still be no EAs left
109
110 *** Test out the trusted namespace ***
111
112 set EA <trusted:colour,marone>:
113
114 set EA <user:colour,beige>:
115
116 set EA <user:vomit,pizza>:
117
118 set EA <trusted:noise,whack>:
119
120 list trusted EAs: <trusted:colour,noise>:
121 # file: TEST_DIR/foo
122 trusted.colour="marone"
123 trusted.noise="whack"
124
125
126 list user EAs: <user:colour,vomit>:
127 # file: TEST_DIR/foo
128 user.colour="beige"
129 user.vomit="pizza"
130
131
132 get trusted EA colour: marone
133 # file: TEST_DIR/foo
134 trusted.colour="marone"
135
136
137 get trusted EA noise: whack
138 # file: TEST_DIR/foo
139 trusted.noise="whack"
140
141
142 get trusted EA vomit which is a user EA => find nothing
143 TEST_DIR/foo: trusted.vomit: No such attribute
144
145 unmount the FS and see if EAs are persistent
146
147 get trusted EA colour: marone
148 # file: TEST_DIR/foo
149 trusted.colour="marone"
150
151
152 get trusted EA noise: whack
153 # file: TEST_DIR/foo
154 trusted.noise="whack"
155
156
157 get user EA vomit: pizza
158 # file: TEST_DIR/foo
159 user.vomit="pizza"
160
161
162 remove the trusted colour EA
163
164 list trusted EAs: <trusted:noise>:
165 # file: TEST_DIR/foo
166 trusted.noise="whack"
167
168
169 list user EAs: <user:colour,vomit>:
170 # file: TEST_DIR/foo
171 user.colour="beige"
172 user.vomit="pizza"
173
174
175 remove the final trusted EA noise
176
177 list trusted EAs: none