summaryrefslogtreecommitdiffstats
path: root/tests/progs/test_data/expect.icount
blob: b58a373dd01c390a2301d8b39c1f9717fc8f308d (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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
test_icount: validate
Icount structure successfully validated
test_icount: store 0 0
store: Invalid argument passed to ext2 library while calling ext2fs_icount_store
test_icount: fetch 0
fetch: Invalid argument passed to ext2 library while calling ext2fs_icount_fetch
test_icount: increment 0
increment: Invalid argument passed to ext2 library while calling ext2fs_icount_increment
test_icount: decrement 0
decrement: Invalid argument passed to ext2 library while calling ext2fs_icount_decrement
test_icount: store 20001 0
store: Invalid argument passed to ext2 library while calling ext2fs_icount_store
test_icount: fetch 20001
fetch: Invalid argument passed to ext2 library while calling ext2fs_icount_fetch
test_icount: increment 20001
increment: Invalid argument passed to ext2 library while calling ext2fs_icount_increment
test_icount: decrement 20001
decrement: Invalid argument passed to ext2 library while calling ext2fs_icount_decrement
test_icount: validate
Icount structure successfully validated
test_icount: fetch 1
Count is 0
test_icount: store 1 1
test_icount: fetch 1
Count is 1
test_icount: store 1 2
test_icount: fetch 1
Count is 2
test_icount: store 1 3
test_icount: fetch 1
Count is 3
test_icount: store 1 1
test_icount: fetch 1
Count is 1
test_icount: store 1 0
test_icount: fetch 1
Count is 0
test_icount: fetch 20000
Count is 0
test_icount: store 20000 0
test_icount: fetch 20000
Count is 0
test_icount: store 20000 3
test_icount: fetch 20000
Count is 3
test_icount: store 20000 0
test_icount: fetch 20000
Count is 0
test_icount: store 20000 42
test_icount: fetch 20000
Count is 42
test_icount: store 20000 1
test_icount: fetch 20000
Count is 1
test_icount: store 20000 0
test_icount: fetch 20000
Count is 0
test_icount: get_size
Size of icount is: 5
test_icount: decrement 2
decrement: Invalid argument passed to ext2 library while calling ext2fs_icount_decrement
test_icount: increment 2
Count is now 1
test_icount: fetch 2
Count is 1
test_icount: increment 2
Count is now 2
test_icount: fetch 2
Count is 2
test_icount: increment 2
Count is now 3
test_icount: fetch 2
Count is 3
test_icount: increment 2
Count is now 4
test_icount: fetch 2
Count is 4
test_icount: decrement 2
Count is now 3
test_icount: fetch 2
Count is 3
test_icount: decrement 2
Count is now 2
test_icount: fetch 2
Count is 2
test_icount: decrement 2
Count is now 1
test_icount: fetch 2
Count is 1
test_icount: decrement 2
Count is now 0
test_icount: decrement 2
decrement: Invalid argument passed to ext2 library while calling ext2fs_icount_decrement
test_icount: store 3 1
test_icount: increment 3
Count is now 2
test_icount: fetch 3
Count is 2
test_icount: decrement 3
Count is now 1
test_icount: fetch 3
Count is 1
test_icount: decrement 3
Count is now 0
test_icount: store 4 0
test_icount: fetch 4
Count is 0
test_icount: increment 4
Count is now 1
test_icount: increment 4
Count is now 2
test_icount: fetch 4
Count is 2
test_icount: decrement 4
Count is now 1
test_icount: decrement 4
Count is now 0
test_icount: store 4  42
test_icount: store 4 0
test_icount: increment 4
Count is now 1
test_icount: increment 4
Count is now 2
test_icount: increment 4
Count is now 3
test_icount: decrement 4
Count is now 2
test_icount: decrement 4
Count is now 1
test_icount: decrement 4
Count is now 0
test_icount: decrement 4
decrement: Invalid argument passed to ext2 library while calling ext2fs_icount_decrement
test_icount: decrement 4
decrement: Invalid argument passed to ext2 library while calling ext2fs_icount_decrement
test_icount: store 5 4
test_icount: decrement 5
Count is now 3
test_icount: decrement 5
Count is now 2
test_icount: decrement 5
Count is now 1
test_icount: decrement 5
Count is now 0
test_icount: decrement 5
decrement: Invalid argument passed to ext2 library while calling ext2fs_icount_decrement
test_icount: get_size
Size of icount is: 105
test_icount: validate
Icount structure successfully validated
test_icount: store 10 10
test_icount: store 20 20
test_icount: store 30 30
test_icount: store 40 40
test_icount: store 50 50
test_icount: store 60 60
test_icount: store 70 70
test_icount: store 80 80
test_icount: store 90 90
test_icount: store 100 100
test_icount: store 15 15
test_icount: store 25 25
test_icount: store 35 35
test_icount: store 45 45
test_icount: store 55 55
test_icount: store 65 65
test_icount: store 75 75
test_icount: store 85 85
test_icount: store 95 95
test_icount: dump
10: 10
15: 15
20: 20
25: 25
30: 30
35: 35
40: 40
45: 45
50: 50
55: 55
60: 60
65: 65
70: 70
75: 75
80: 80
85: 85
90: 90
95: 95
100: 100
test_icount: get_size
Size of icount is: 105
test_icount: validate
Icount structure successfully validated