CRTEST(1)

πŸ’– CRTEST(1) β€” bestie's guide to QDBM Curia test cases πŸ’–

okay so real talk: this is crtest, a page from the Quick Database Manager manual, and it's literally just the vibe-check tool for Curia. πŸ¦‹


✨ NAME ✨

crtest β€” test cases for QDBM Curia πŸŽ€


🌸 SYNOPSIS 🌸

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

πŸ’… DESCRIPTION πŸ’…

The command crtest is a utility for facility test and performance test. 🧚 Check a database generated by the command, or measure the execution time of the command. No cap, that's the whole job.

This command is used in the following format. name specifies a database name. rnum specifies the number of records. bnum specifies the number of elements of a bucket array. dnum specifies the number of division of a database. 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. ⭐

Here's the lineup, bestie:

  • crtest write [-s] [-lob] name rnum bnum dnum β€” Store records with keys of 8 bytes. They change as 00000001, 00000002... πŸ’«
  • crtest read [-wb] [-lob] name β€” Retrieve all records of the database above. Just... read them all back. πŸ‘‘
  • crtest rcat [-c] name rnum bnum dnum pnum align fbpsiz β€” Store records with partway duplicated keys using concatenate mode. πŸ“
  • crtest combo name β€” Perform combination test of various operations. It's giving ✨thorough✨.
  • crtest wicked [-c] name rnum β€” Perform updating operations selected at random. Chaos mode, but make it scientific. 😭πŸ”₯

πŸŽ€ OPTIONS πŸŽ€

Options feature the following, and yes we're listing every single one:

  • -s β€” make the files sparse. 🫧
  • -lob β€” handle large objects. 🐘
  • -wb β€” use the function crgetwb instead of the function crget. πŸ”
  • -c β€” perform comparison test with map of Cabin. πŸ—ΊοΈ

🌈 EXIT STATUS & ENVIRONMENT 🌈

This command returns 0 on success, another on failure. Periodt. πŸ’€

The environment variable QDBMDBGFD specifies the file descriptor to output the history of updating the variable dpecode. πŸ‘€

Heads up bestie: that's a real environment variable with a real job β€” don't sleep on it if you're trying to trace what's happening.

πŸ¦‹ SEE ALSO πŸ¦‹


πŸ‘‘ AUTHOR πŸ‘‘

QDBM was written by Mikio Hirabayashi <mikio@fallabs.com>. Iconic. πŸ’œ


and that's the whole page, bestie!! This little beauty comes from the Quick Database Manager manual set and it's dated 2005-06-01 β€” vintage, but she still slays. πŸŒΈπŸ’…βœ¨πŸ«Ά