Test cases of the abstract database api
The command `tcamttest' is a utility for facility test under multi-thread situation. This command is used in the following format. `name' specifies the database name. `tnum' specifies the number of running threads. `rnum' specifies the number of iterations.
tcamttest write name tnum rnum
Store records with keys of 8 bytes. They change as `00000001', `00000002'...
tcamttest read name tnum
Retrieve all records of the database above.
tcamttest remove name tnum
Remove all records of the database above.
This command returns 0 on success, another on failure.