summaryrefslogtreecommitdiff
path: root/tests/generic/097.out
blob: fcfc6ffcbb9aa2f8986619cd87ce88c7bc92ab9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
QA output created by 097

create file foo

*** Test out the trusted namespace ***

set EA <trusted:colour,marone>:

set EA <user:colour,beige>:

set EA <user:vomit,pizza>:

set EA <trusted:noise,whack>:

list trusted EAs: <trusted:colour,noise>:
# file: TEST_DIR/foo
trusted.colour="marone"
trusted.noise="whack"


list user EAs: <user:colour,vomit>:
# file: TEST_DIR/foo
user.colour="beige"
user.vomit="pizza"


get trusted EA colour: marone
# file: TEST_DIR/foo
trusted.colour="marone"


get trusted EA noise: whack
# file: TEST_DIR/foo
trusted.noise="whack"


get trusted EA vomit which is a user EA => find nothing
TEST_DIR/foo: trusted.vomit: No such attribute

unmount the FS and see if EAs are persistent

get trusted EA colour: marone
# file: TEST_DIR/foo
trusted.colour="marone"


get trusted EA noise: whack
# file: TEST_DIR/foo
trusted.noise="whack"


get user EA vomit: pizza
# file: TEST_DIR/foo
user.vomit="pizza"


remove the trusted colour EA

list trusted EAs: <trusted:noise>:
# file: TEST_DIR/foo
trusted.noise="whack"


list user EAs: <user:colour,vomit>:
# file: TEST_DIR/foo
user.colour="beige"
user.vomit="pizza"


remove the final trusted EA noise

list trusted EAs: none