1KCLANGCTEST(1) Kyoto Cabinet KCLANGCTEST(1)
2
3
4
6 kclangctest - command line interface to test the C language binding
7
8
10 The command `kclangctest' is a utility for facility test and perfor‐
11 mance test of the C language binding. This command is used in the fol‐
12 lowing format. `path' specifies the path of a database file. `rnum'
13 specifies the number of iterations.
14
15 kclangctest order [-rnd] [-etc] [-tran]
16 [-oat|-onl|-onl|-otl|-onr] path rnum
17 Performs in-order tests.
18 kclangctest index [-rnd] [-etc] [-oat|-onl|-onl|-otl|-onr] path
19 rnum
20 Performs indexing operations.
21 kclangctest map [-rnd] [-etc] [-bnum num] rnum
22 Performs test of memory-saving hash map.
23 kclangctest list [-rnd] [-etc] rnum
24 Performs test of memory-saving array list.
25
26 Options feature the following.
27
28 -rnd : performs random test.
29 -etc : performs miscellaneous operations.
30 -tran : performs transaction.
31 -oat : opens the database with the auto transaction option.
32 -oas : opens the database with the auto synchronization option.
33 -onl : opens the database with the no locking option.
34 -otl : opens the database with the try locking option.
35 -onr : opens the database with the no auto repair option.
36 -bnum num : specifies the number of buckets of the hash table.
37
38 This command returns 0 on success, another on failure.
39
40
42 kcpolymgr(1), kcpolytest(1)
43
44
45
46Man Page 2012-05-24 KCLANGCTEST(1)