RZ_TEST(1)
π rz-test(1) β the rizin regression testsuite, but make it make sense
okay bestie so this is rz-test, from the General Commands Manual, and it's literally the rizin regression testsuite. yes. the thing that tells you if you broke stuff. iconic behavior honestly π
β¨ SYNOPSIS β¨
rz-test [-qvVnL] [-j threads] [-test file/dir | @test-type]
πΈ DESCRIPTION πΈ
so this command is part of the Rizin project, right? and what it does is run all the rizin-regressions tests that match a specific word in the name. that's the whole vibe. π¦
bestie. you needrizinto be available in$PATH. like. it's not optional. it's not a suggestion. it's giving prerequisite. π
π OPTIONS π
okay here's the whole lineup, no cap, every single one:
-hβ shows the usage help message. a little "hi, here's how this works" moment π«Ά-vβ shows version information. who are you,rz-test? β¨-qβ quiet mode. shhh. π€«-Vβ be verbose. the opposite of quiet. it's giving yapper energy π-iβ interactive mode. you're in the driver's seat now π-nβ do nothing. like, don't run any test, just load/parse them. all vibes, no execution π-Lβ log mode. better printing for CI, logfiles, etc. the CI girlies eat this up π₯-Fdir β run fuzz tests (open and default analysis) on all files in the given dir π§-jthreads β how many threads to use for running tests concurrently. default is8. yes, eight. parallel slay π-rrizin β set path to therizinexecutable. default isrizinβ-mrz-asm β set path to therz-asmexecutable. default isrz-asmπ-ffile β file to use for JSON tests. default isbins/elf/crackme0x00bπ-Cdir β chdir before runningrz-test. default follows executable symlink +test/newπ¦-tseconds β timeout per test. default is960seconds. that's a lot of seconds bestie π-ofile β output test run information in JSON format to file π-edir β exclude a particular directory while testing. this option can appear many times. stack 'em, queen π-snum β number of expected successful tests β-xnum β number of expected failed tests. yes we count those too, we're not in denial π
also, real quick, the supported test types are: @json @unit @fuzz @cmds π―
π§ ENVIRONMENT π§
EDITORβ editor to use (eg:"vim"). pick your fighter β¨
π USAGE π
use the -n flag to dont run any test. just load them. honestly a mood.
$ rz-test -n
[rz-test] Loading tests...
see? loads them. doesn't run them. self-care πΈ
π₯ SEE ALSO π₯
rizin(1), rz-asm(1), rz-bin(1), rz-diff(1), rz-find(1), rz-hash(1) β the whole friend group, fr fr π
π AUTHORS π
pancake <pancake@nopcode.org>byteninjaa0
and that's the page bestie!! this version is from Debian, dated January 24, 2024, and it's RZ_TEST(1) β go forth and run your regression tests responsibly πβ¨ periodt.
π¦ where this page comes from
- nixpkgs unstable: rizin 0.9.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms