odtest1
Test cases for qdbm odeum
Usage
odtest write
[-tune
ibnum
idnum
cbnum
csiz]
name
dnum
wnum
pnum
odtest read
name
odtest combo
name
odtest wicked
name
dnum
Overview
The command `odtest' is a utility for facility test and performance test. Check a database generated by the command or measure the execution time of the command. This command is used in the following format. `name' specifies a database name. `dnum' specifies the number of the documents. `wnum' specifies the number of words per document. `pnum' specifies the number of patterns of words.
odtest write [-tune ibnum idnum cbnum csiz] name dnum wnum pnum
|
Store documents with random attributes and random words. |
|---|---|
odtest read name
|
Retrieve all documents of the database above. |
odtest combo name
|
Perform combination test of various operations. |
odtest wicked name dnum
|
Perform updating operations selected at random. |
Options feature the following.
-tune ibnum idnum cbnum csiz : set tuning parameters.
This command returns 0 on success, another on failure. The environment variable `QDBMDBGFD' specifies the file descriptor to output the history of updating the variable `dpecode'.
Releases
10 releases since Debian 4.0 (Etch); the text changed 1 time.