kclangctest(1)

kclangctest1

Command line interface to test the c language binding

Overview

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.

Releases

Unchanged in 7 releases since Debian 8 (Jessie).

  1. 8–Arch

From kyotocabinet 1.2.80-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.