summaryrefslogtreecommitdiff
path: root/source4/selftest/provisions/release-4-5-0-pre1
Commit message (Collapse)AuthorAgeFilesLines
* selftest: Add test for link and deleted link behaviour in dbcheckAndrew Bartlett2016-11-304-0/+92
| | | | | | | | | | | The other dbcheck tests were getting over-complex, so we start a new test here based on tombestone-expunge.sh, as we are looking at very similar problems Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> BUG: https://bugzilla.samba.org/show_bug.cgi?id=12297 (cherry picked from commit 8315d4d03ac77f1727ff01e87392f6e49ba40def)
* tombstones-expunge: Add a test for deleting links to recycled objectsGarming Sam2016-11-303-8/+17
| | | | | | | | | | | | | | Currently this fails because we rely on a GUID DN, which fails to resolve in the case that the GUID no longer exists in the database (i.e. when that object has been purged after 6 months). The tests use a made up extended DN built from fred where the GUID has been tweaked. Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> BUG: https://bugzilla.samba.org/show_bug.cgi?id=12385 (cherry picked from commit dba624364cde1c885640386c4e2bca17e9d5297c)
* dbcheck: assert uSNChanged values in release-4-5-0-pre1Garming Sam2016-10-203-0/+219
| | | | | | | | | | | | | | This shows that dbcheck doesn't change the replPropertyMetadata when fixing the links on these objects. Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> BUG: https://bugzilla.samba.org/show_bug.cgi?id=12382 Autobuild-User(master): Garming Sam <garming@samba.org> Autobuild-Date(master): Thu Sep 8 14:39:19 CEST 2016 on sn-devel-144 (cherry picked from commit 0ab32637249fb88917d240e78c0f213b83236027)
* lib/ldb-samba: Add test for DSDB_MATCH_FOR_EXPUNGE match ruleAndrew Bartlett2016-10-201-0/+47
| | | | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> BUG: https://bugzilla.samba.org/show_bug.cgi?id=12382 (cherry picked from commit 737756b060364c09b62a500ef26eef044230ecac)
* selftest: Add test for 'samba-tool tombstones expunge'Andrew Bartlett2016-10-208-0/+86
| | | | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> BUG: https://bugzilla.samba.org/show_bug.cgi?id=12382 (cherry picked from commit a999e8c0cbbfcb59caf4732c952e3e9856ea7577)
* dbcheck linked attribute tests: save environment with bad linksDouglas Bagnall2016-07-1523-0/+161630
We save a database snapshot that contains linked attributes that should have been deleted, and make sure dbcheck fixes those links without ruining anything else. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>