blob: b58a373dd01c390a2301d8b39c1f9717fc8f308d [file] [log] [blame]
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