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

NAME

6       dptest - test cases for QDBM Depot
7
8

SYNOPSIS

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

DESCRIPTION

18       The  command  `dptest'  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       the records.  `bnum' specifies the number of the elements of the bucket
23       array.  `pnum' specifies the number of patterns of  the  keys.  `align'
24       specifies  the basic size of alignment.  `fbpsiz' specifies the size of
25       the free block pool.
26
27       dptest write [-s] name rnum bnum
28              Store records with keys of 8 bytes.  They change as  `00000001',
29              `00000002'...
30
31       dptest read [-wb] name
32              Retrieve all records of the database above.
33
34       dptest rcat [-c] name rnum bnum pnum align fbpsiz
35              Store  records  with  partway  duplicated keys using concatenate
36              mode.
37
38       dptest combo name
39              Perform combination test of various operations.
40
41       dptest wicked [-c] name rnum
42              Perform updating operations selected at random.
43
44Options feature the following.
45
46       -s : make the file sparse.
47       -wb : use the function `dpgetwb' instead of the function `dpget'.
48       -c : perform comparison test with map of Cabin.
49
50This command returns 0 on success, another on failure.  The environment  vari‐
51able `QDBMDBGFD' specifies the file descriptor to output the history of updat‐
52ing the variable `dpecode'.
53
54

SEE ALSO

56       qdbm(3), depot(3)
57
58

AUTHOR

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