DPTEST(1)

πŸ’– DPTEST(1) β€” test cases for QDBM Depot πŸ’–

okay so bestie, this is a Quick Database Manager page, and it's literally all about dptest, the little chaos-gremlin utility that runs test cases for QDBM Depot. no cap. πŸ¦‹


✨ NAME ✨

dptest β€” test cases for QDBM Depot


🌸 SYNOPSIS 🌸

dptest write [-s] name rnum bnum
dptest read [-wb] name
dptest rcat [-c] name rnum bnum pnum align
dptest combo name
dptest wicked [-c] name rnum

πŸ’… DESCRIPTION πŸ’…

so the command dptest is a utility for facility test and performance test. you can either check a database that the command itself generated, or measure how long the command takes to run. it's giving lab-partner energy fr fr. πŸ§ͺ✨

the command is used in the formats below, and here's the tea on the arguments:

  • name β€” specifies a database name.
  • rnum β€” specifies the number of the records.
  • bnum β€” specifies the number of the elements of the bucket array.
  • 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.

πŸŽ€ the formats, one by one πŸŽ€

  • dptest write [-s] name rnum bnum β€” stores records with keys of 8 bytes. the keys change as 00000001, 00000002... iconic little counters, honestly. πŸ”’
  • dptest read [-wb] name β€” retrieves all the records of the database above. going back for the receipts, bestie. 🫢
  • dptest rcat [-c] name rnum bnum pnum align fbpsiz β€” stores records with partway duplicated keys using concatenate mode. yes the keys overlap, that's the whole point, it's a vibe check for the concatenate path. πŸ’€
  • dptest combo name β€” performs a combination test of various operations. it's literally doing the most, on purpose. πŸ‘‘
  • dptest wicked [-c] name rnum β€” performs updating operations selected at random. chaos mode: activated. 🌈

⭐ OPTIONS ⭐

the options feature the following. no notes, they're perfect.

  • -s β€” make the file sparse.
  • -wb β€” use the function dpgetwb instead of the function dpget.
  • -c β€” perform comparison test with map of Cabin.

πŸ’œ exit status & environment πŸ’œ

this command returns 0 on success, and another value on failure. periodt.

the environment variable QDBMDBGFD specifies the file descriptor to output the history of updating the variable dpecode. so if you want the debug lore, that's where you point it. πŸ”


πŸ¦‹ SEE ALSO πŸ¦‹

qdbm(3), depot(3)


πŸ‘‘ AUTHOR πŸ‘‘

QDBM was written by Mikio Hirabayashi <mikio@fallabs.com>. absolute legend behaviour, we stan. πŸ’–


and that's the whole page, bestie β€” the man page source is dated 2005-06-01, and the version tag on it is just Man Page, so that's the receipt for when this beauty got stamped. slay, bye!! πŸŽ€βœ¨