[PATCH] s4-drs: additional delete test cases

Eduardo Lima eduardoll at gmail.com
Wed Mar 31 09:22:22 MDT 2010


Hi Tridge,

Here is the patch to test the delete procedure.

http://repo.or.cz/w/Samba/eduardoll.git/commit/f56692a56b5a500268d9daf9d5bc4ee55d465536

It has three test suites:

1 - BasicDeleteTests: test the delete procedure only when recycle bin is
disabled
2 - RecycleBinActivationTests: test the recycle bin activation procedure
3 - ThreeStageDeleteTests: test the three stage delete procedure

I made a small change on the tests and now they are only performed depending
on the Recycle Bin status and the functional level. With this change, the
tests are not going to fail if the functional level is not the necessary or
if the Recycle Bin was already enabled. Maybe displaying a warning when the
test were not executed would be a better approach, but I could not work out
how to display the warning.

Thanks.

--
Eduardo Lima
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s4-drs-additional-delete-test-cases.patch
Type: text/x-patch
Size: 26605 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100331/8ad0507e/attachment.bin>


More information about the samba-technical mailing list