[PATCH] samba-tool throws error if there is an empty FSMO role
Andreas Schneider
asn at samba.org
Wed May 11 07:58:04 UTC 2016
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
More information about the samba-technical
mailing list