From: Joseph Sutton Date: Sat, 30 Apr 2022 01:55:39 +0000 (+1200) Subject: CVE-2020-25720 python:tests: Ensure that access checks don't succeed X-Git-Tag: talloc-2.4.0~1003 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=890d2c5cf5d47758b5429f87a064f04512ff7136;p=thirdparty%2Fsamba.git CVE-2020-25720 python:tests: Ensure that access checks don't succeed BUG: https://bugzilla.samba.org/show_bug.cgi?id=14810 Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/python/samba/tests/security.py b/python/samba/tests/security.py index 1dacf78499a..2be58e0962a 100644 --- a/python/samba/tests/security.py +++ b/python/samba/tests/security.py @@ -166,3 +166,5 @@ class CheckAccessTests(samba.tests.TestCase): self.assertTrue(isinstance(e, NTSTATUSError)) e_num, e_msg = e.args self.assertEqual(num, e_num) + else: + self.fail()