kclangctest(1)
NAME
kclangctest – command line interface to test the C language binding
DESCRIPTION
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]pathrnum- Performs in-order tests.
- Performs indexing operations.
- Performs test of memory-saving hash map.
- Performs test of memory-saving array list.
kclangctest index [-rnd][-etc][-oat|-onl|-onl|-otl|-onr]pathrnum
kclangctest map [-rnd][-etc][-bnum num]rnum
kclangctest list [-rnd][-etc]rnum
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.-bnumnum : specifies the number of buckets of the hash table.
This command returns 0 on success, another on failure.
SEE ALSO
kcpolymgr(1), kcpolytest(1)