[PATCH] samba-tool throws error if there is an empty FSMO role

Rowland Penny repenny241155 at gmail.com
Wed May 11 08:11:10 UTC 2016


On 11/05/16 08:58, Andreas Schneider wrote:
> On Wednesday, May 11, 2016 08:01:14 AM Rowland Penny wrote:
>> If you examine 'timecmd.py', you will find a 'class' and a couple of
>> 'def's , but there doesn't seem to be anything to run the 'def's. How is
>> the code run ????
> Hey Rowland,
>
> To find out how the test is executed you can run it with the following
> command:
>
> make test TESTS="samba.tests.samba_tool.timecmd" SUBUNIT_FORMATTER=cat
>
> Look for 'expanded command'.
>
> It shows you how the test is invoked and with which arguments. I need to find
> some time to really document this stuff. The selftest stuff is the finest
> spagetthi code we have in Samba ;)
>
>
> 	-- andreas

Spaghetti code has nothing on this, this is undocumented knitted 
spaghetti code :-D

Rowland



More information about the samba-technical mailing list