.TH CRTEST 1 "2005-06-01" "Man Page" "Quick Database Manager" .SH NAME crtest \- test cases for QDBM Curia .SH SYNOPSIS .PP .B crtest write .RI "[-s] [-lob] " name " " rnum " " bnum " " dnum .br .B crtest read .RI "[-wb] [-lob] " name .br .B crtest rcat .RI "[-c] " name " " rnum " " bnum " " dnum " " pnum " " align .br .B crtest combo .I name .br .B crtest wicked .RI "[-c] " name " "rnum .SH DESCRIPTION .PP The command `crtest' 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 records. `bnum' specifies the number of elements of a bucket array. `dnum' specifies the number of division of a database. `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 crtest write [-s] [-lob] name rnum bnum dnum Store records with keys of 8 bytes. They change as `00000001', `00000002'... .TP .B crtest read [-wb] [-lob] name Retrieve all records of the database above. .TP .B crtest rcat [-c] name rnum bnum dnum pnum align fbpsiz Store records with partway duplicated keys using concatenate mode. .TP .B crtest combo name Perform combination test of various operations. .TP .B crtest wicked [-c] name rnum Perform updating operations selected at random. .PP Options feature the following. .PP .RS .B -s : make the files sparse. .br .B -lob : handle large objects. .br .B -wb : use the function `crgetwb' instead of the function `crget'. .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 curia (3) .SH AUTHOR QDBM was written by Mikio Hirabayashi .