GENTEST(1)
β¨ GENTEST(1) β¨
aka gentest β the girlies in the Test Suite section of your manual π
πΈ NAME πΈ
gentest β run a whole bunch of random generic SMB operations against two SMB servers and then spill the tea on how their behaviour differs πβ¨
π¦ SYNOPSIS π¦
gentest {//server1/share1} {//server2/share2} {-U user%pass}
{-U user%pass} [-s seed] [-o numops] [-a] [-A] [-i FILE] [-O]
[-S FILE] [-L] [-F] [-C] [-X]
π DESCRIPTION π
Okay so bestie, gentest is literally a utility for detecting differences in behaviour between SMB servers. That's it, that's the whole vibe. π«Ά
It will run a random set of generic operations against //server1/share1, and then it runs the same random set against //server2/share2, and then it displays the differences in the responses it gets. Like a side-by-side, but for server behaviour. Iconic. π₯
This utility is used by the Samba team to find differences in behaviour between Samba and Windows servers. So yeah, it's giving professional detective energy. π΅οΈβοΈβ¨
π OPTIONS π
-U user%passβ tell it the user and password to use when logging on on the shares. This parameter is mandatory and has to be specified twice. Not once. Twice. Periodt. π€-s seedβ seed the random number generator with the specified value. Same seed, same chaos. π±-o numopsβ set the number of operations to perform. More ops, more drama. π-aβ print the operations that are performed. Narrator mode, on. π£οΈ-Aβ backtrack to find the minimal number of operations required to make the response to a certain call differ. Detective work, but make it efficient. π-i FILEβ specify a file containing the names of fields that have to be ignored (such as time fields). See below for a description of the file format. π-Oβ enable oplocks. π-S FILEβ set the preset seeds file. The default isgentest_seeds.dat. π-Lβ use preset seeds. πΎ-Fβ fast reconnect (just close files). Zoom zoom. β‘-Cβ continuous analysis mode. Never not analysing. π-Xβ analyse even when the test succeeded. Yes bestie, even when it ate. π―
β VERSION β
This man page is correct for version 4.0 of the Samba suite. No cap. β¨
π SEE ALSO π
Samba
π AUTHOR π
This utility is part of the Samba[1] suite, which is developed by the global Samba Team[2].
gentest was written by Andrew Tridgell.
This manpage was written by Jelmer Vernooij.
π§ NOTES π§
- Samba
http://www.samba.org/ - Samba Team
http://www.samba.org/samba/team/
okay that's the whole page, mwah π This one comes to you from Samba 4.0, dated 09/09/2026 β go forth and diff those servers, bestie π¦π
π¦ where this page comes from
- fedora 44: samba-test 2:4.24.7-1.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later
- ubuntu noble: samba-testsuite 2:4.19.5+dfsg-4ubuntu9.8 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms