.TH DPTEST 1 "2005-06-01" "Man Page" "Quick Database Manager" .SH NAME dptest \- test cases for QDBM Depot .SH SYNOPSIS .PP .B dptest write .RI "[-s] " name " " rnum " " bnum .br .B dptest read .RI "[-wb] " name .br .B dptest rcat .RI "[-c] " name " " rnum " " bnum " " pnum " " align .br .B dptest combo .I name .br .B dptest wicked .RI "[-c] " name " " rnum .SH DESCRIPTION .PP The command `dptest' 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. `rnum' specifies the number of the records. `bnum' specifies the number of the elements of the bucket array. `pnum' specifies the number of patterns of the keys. `align' specifies the basic size of alignment. `fbpsiz' specifies the size of the free block pool. .PP .TP .B dptest write [-s] name rnum bnum Store records with keys of 8 bytes. They change as `00000001', `00000002'... .TP .B dptest read [-wb] name Retrieve all records of the database above. .TP .B dptest rcat [-c] name rnum bnum pnum align fbpsiz Store records with partway duplicated keys using concatenate mode. .TP .B dptest combo name Perform combination test of various operations. .TP .B dptest wicked [-c] name rnum Perform updating operations selected at random. .RE .PP Options feature the following. .PP .RS .B -s : make the file sparse. .br .B -wb : use the function `dpgetwb' instead of the function `dpget'. .br .B -c : perform comparison test with map of Cabin. .RE .PP 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'. .SH SEE ALSO .PP .BR qdbm (3), .BR depot (3) .SH AUTHOR QDBM was written by Mikio Hirabayashi .