blob: 7edcc41898a6347fed6f12d7f64b5138d6a8e74b [file] [log] [blame]
Theodore Ts'oc762c8e1997-06-17 03:52:12 +00001create 10
2add 10 20
3add 11 21
4add 12 22
5add 14 45
6add 16 50
7add 17 51
8dump
9# Extent dump:
10# Num=3, Size=10, Cursor=0, Sorted=1
11# 10 -> 20 (3)
12# 14 -> 45 (1)
13# 16 -> 50 (2)
14add 18 52
15dump
16# Extent dump:
17# Num=3, Size=10, Cursor=0, Sorted=1
18# 10 -> 20 (3)
19# 14 -> 45 (1)
20# 16 -> 50 (3)
21lookup 10
22# Answer: 20
23lookup 11
24# Answer: 21
25lookup 12
26# Answer: 22
27lookup 13
28# Answer: 0 (not found)
29lookup 14
30# Answer: 45
31lookup 15
32# Answer: 0 (not found)
33lookup 16
34# Answer: 50
35lookup 1
36# Answer: 0 (not found)
37lookup 50
38# Answer: 0 (not found)
39add 19 100
40add 13 5
41lookup 18
42# Answer: 52
43lookup 19
44# Answer: 100
45lookup 20
46# Answer: 0 (not found)
47lookup 12
48# Answer: 22
49lookup 13
50# Answer: 5
51dump
52# Extent dump:
53# Num=5, Size=10, Cursor=0, Sorted=1
54# 10 -> 20 (3)
55# 13 -> 5 (1)
56# 14 -> 45 (1)
57# 16 -> 50 (3)
58# 19 -> 100 (1)
59iter_test
60# 10 -> 20 (3)
61# 13 -> 5 (1)
62# 14 -> 45 (1)
63# 16 -> 50 (3)
64# 19 -> 100 (1)