MAN page from Other cdb-0.55-3.i386.rpm
cdbtest
Section: User Commands (1)
Index NAME
cdbtest - check retrieval from a constant database
SYNOPSIS
cdbtest DESCRIPTION
cdbtestreads 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 foundwith the same key. This should not happen unless the databasehas 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.cdbtestdoesn't bother testing these records.
SEE ALSO
cdbget(1),
cdb(3)
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- SEE ALSO
This document was created byman2html,using the manual pages.