SMBTorture

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Sep 24 07:51:02 MDT 2012


On Mon, Sep 24, 2012 at 01:51:36AM -0700, Jun Yi wrote:
> Dear everybody,
> 
> Could somebody help me to give a short explain how SMBTortue is design?
> e.g., 1: where are the existing test suites?

If you just run smbtorture without parameters, you see a
list of tests. For example base.delete. That is a testsuite.
There's dozens of them, listed by smbtorture output.

>        2: how these test suites are loaded and executed.

You can run base.delete for example as

smbtorture //servername/servershare -Uuser%password base.delete

>        3: where and how to register a new test suites within master branch.

See for example source4/torture/basic.c, routine
torture_base_init.

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list