DOKK / manpages / debian 11 / kyotocabinet-utils / kclangctest.1.en
KCLANGCTEST(1) Kyoto Cabinet KCLANGCTEST(1)

kclangctest - command line interface to test the C language binding

The command `kclangctest' is a utility for facility test and performance test of the C language binding. This command is used in the following format. `path' specifies the path of a database file. `rnum' specifies the number of iterations.


kclangctest order [-rnd] [-etc] [-tran] [-oat|-onl|-onl|-otl|-onr] path rnum
Performs in-order tests.

kclangctest index [-rnd] [-etc] [-oat|-onl|-onl|-otl|-onr] path rnum
Performs indexing operations.

kclangctest map [-rnd] [-etc] [-bnum num] rnum
Performs test of memory-saving hash map.

kclangctest list [-rnd] [-etc] rnum
Performs test of memory-saving array list.

Options feature the following.

-rnd : performs random test.
-etc : performs miscellaneous operations.
-tran : performs transaction.
-oat : opens the database with the auto transaction option.
-oas : opens the database with the auto synchronization option.
-onl : opens the database with the no locking option.
-otl : opens the database with the try locking option.
-onr : opens the database with the no auto repair option.
-bnum num : specifies the number of buckets of the hash table.

This command returns 0 on success, another on failure.

kcpolymgr(1), kcpolytest(1)

2012-05-24 Man Page