SMBTorture

Jun Yi yi.jun.mail at gmail.com
Mon Sep 24 11:19:53 MDT 2012


Thanks Volker for your quick reply. Now I can read and create my own test
suite now.
I ran into another problem just now. Must I have smb2.ko to run smbclient4?
But I did not see any source code for smb2.ko in the samba package (I use
master branch). I know the server side does not need smb2.ko, but how can
the client need this one (as a file system driver for linux VFS)?

Thanks and wait for your reply

Jun

On Mon, Sep 24, 2012 at 6:51 AM, Volker Lendecke
<Volker.Lendecke at sernet.de>wrote:

> 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