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 as00000001,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 functioncrgetwbinstead of the functioncrget. π-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. πΈπ β¨π«Ά
π¦ where this page comes from
- debian bookworm: qdbm-util 1.8.78-12+b1 Β· LGPL-2.1-or-later
- debian trixie: qdbm-util 1.8.78-13+b3 Β· LGPL-2.1-or-later
- fedora 43: qdbm 1.8.78-71.fc43 Β· LGPL-2.1-or-later
- fedora 43: qdbm 1.8.78-71.fc43 Β· LGPL-2.1-or-later
- fedora 44: qdbm 1.8.78-75.fc44 Β· LGPL-2.1-or-later
- fedora 44: qdbm 1.8.78-75.fc44 Β· LGPL-2.1-or-later
- ubuntu jammy: qdbm-util 1.8.78-11build3 Β· LGPL-2.1-or-later
- ubuntu noble: qdbm-util 1.8.78-12.1build2 Β· LGPL-2.1-or-later
- ubuntu questing: qdbm-util 1.8.78-13build2
- ubuntu resolute: qdbm-util 1.8.78-15 Β· LGPL-2.1-or-later
- ubuntu stonking: qdbm-util 1.8.78-16build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms