Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Feb 21 05:37:31 CET 2019 on sn-devel-144
self.assertEquals(err, "", "Shouldn't be any error messages")
#extract only the two sddl strings from samba-tool output
acl_list=re.findall('.*descriptor for.*:\n(.*?)\n',out)
+ self.assertNotEqual(acl_list[0], acl_list[1], "new and old SDDL string differ")
self.assertMatch(acl_list[1], self.sddl, "new SDDL string should be contained within second sddl output")
def test_sddl_set_get(self):