cdbtest

Langue: en

Version: 57223 (mandriva - 22/10/07)

Section: 1 (Commandes utilisateur)

NAME

cdbtest - check retrieval from a constant database

SYNOPSIS

cdbtest

DESCRIPTION

cdbtest reads a (seekable) constant database from its standard input. For each record in the database, it feeds the record's key to cdb_seek() and checks the result. It prints tallies in several categories:
found
is the number of records found correctly by their keys.
different record
is the number of records where a different record was found with the same key. This should not happen unless the database has multiple records with the same key.
bad length
is the number of records found but with the wrong data length. This should never happen.
not found
is the number of records not found. This should never happen.
too long to test
is the number of records with keys longer than 1024 bytes. cdbtest doesn't bother testing these records.

SEE ALSO

cdbget(1), cdb(3)