.TH ODTEST 1 "2005-06-01" "Man Page" "Quick Database Manager" .SH NAME odtest \- test cases for QDBM Odeum .SH SYNOPSIS .PP .B odtest write .RI "[-tune " ibnum " " idnum " " cbnum " " csiz "] " name " " dnum " " wnum " " pnum .br .B odtest read .I name .br .B odtest combo .I name .br .B odtest wicked .I name dnum .SH DESCRIPTION .PP 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. .PP .TP .B odtest write [-tune ibnum idnum cbnum csiz] name dnum wnum pnum Store documents with random attributes and random words. .TP .B odtest read name Retrieve all documents of the database above. .TP .B odtest combo name Perform combination test of various operations. .TP .B odtest wicked name dnum Perform updating operations selected at random. .PP Options feature the following. .PP .RS .B -tune ibnum idnum cbnum csiz : set tuning parameters. .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 odeum (3) .SH AUTHOR QDBM was written by Mikio Hirabayashi .