CVE-2023-4154 dsdb/tests: Use self.addCleanup() and delete_force()
authorAndrew Bartlett <abartlet@samba.org>
Mon, 7 Aug 2023 01:15:40 +0000 (13:15 +1200)
committerJule Anger <janger@samba.org>
Mon, 9 Oct 2023 20:15:19 +0000 (22:15 +0200)
commit87ff4f57bf7a1980f2f6299115e35ab12483a150
treee6d56fcb088f389d82b817bf5d510c9aaaf89f64
parent8ad21108f88be4fcabc1919757eed2ed06c06fba
CVE-2023-4154 dsdb/tests: Use self.addCleanup() and delete_force()

Thie helps ensure this test is reliable even in spite of errors while
running.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15424

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/tests/python/confidential_attr.py
source4/dsdb/tests/python/dirsync.py