1CRTEST(1)                   Quick Database Manager                   CRTEST(1)
2
3
4

NAME

6       crtest - test cases for QDBM Curia
7
8

SYNOPSIS

10       crtest write [-s] [-lob] name rnum bnum dnum
11       crtest read [-wb] [-lob] name
12       crtest rcat [-c] name rnum bnum dnum pnum align
13       crtest combo name
14       crtest wicked [-c] name rnum
15
16

DESCRIPTION

18       The  command  `crtest'  is  a utility for facility test and performance
19       test.  Check a database generated by the command or measure the  execu‐
20       tion  time  of the command.  This command is used in the following for‐
21       mat.  `name' specifies a database name.  `rnum' specifies the number of
22       records.   `bnum'  specifies  the number of elements of a bucket array.
23       `dnum' specifies the number of division of a database.   `pnum'  speci‐
24       fies  the  number of patterns of the keys.  `align' specifies the basic
25       size of alignment.  `fbpsiz' specifies the size of the free block pool.
26
27       crtest write [-s] [-lob] name rnum bnum dnum
28              Store records with keys of 8 bytes.  They change as  `00000001',
29              `00000002'...
30
31       crtest read [-wb] [-lob] name
32              Retrieve all records of the database above.
33
34       crtest rcat [-c] name rnum bnum dnum pnum align fbpsiz
35              Store  records  with  partway  duplicated keys using concatenate
36              mode.
37
38       crtest combo name
39              Perform combination test of various operations.
40
41       crtest wicked [-c] name rnum
42              Perform updating operations selected at random.
43
44       Options feature the following.
45
46              -s : make the files sparse.
47              -lob : handle large objects.
48              -wb :  use  the  function  `crgetwb'  instead  of  the  function
49              `crget'.
50              -c : perform comparison test with map of Cabin.
51
52       This command returns 0 on success, another on failure.  The environment
53       variable `QDBMDBGFD' specifies the file descriptor to output  the  his‐
54       tory of updating the variable `dpecode'.
55
56

SEE ALSO

58       qdbm(3), curia(3)
59
60

AUTHOR

62       QDBM was written by Mikio Hirabayashi <mikio@fallabs.com>.
63
64
65
66Man Page                          2005-06-01                         CRTEST(1)
Impressum