mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
ldb:tests: add a test for dotted i uppercase
This didn't fail in the tr_TR locale before recent changes for https://bugzilla.samba.org/show_bug.cgi?id=15637, because this is a different casefold codepath. But it could fail if that other path goes wrong, so we might as well have the test. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
af7654331f
commit
8f080c0295
@ -2852,6 +2852,10 @@ class DnTests(TestCase):
|
||||
x = ldb.Dn(self.ldb, "dc=foo14,bar=bloe")
|
||||
self.assertEqual(x.get_casefold(), "DC=FOO14,BAR=bloe")
|
||||
|
||||
def test_get_casefold_dotted_i(self):
|
||||
x = ldb.Dn(self.ldb, "dc=foo14,bir=blie")
|
||||
self.assertEqual(x.get_casefold(), "DC=FOO14,BIR=blie")
|
||||
|
||||
def test_validate(self):
|
||||
x = ldb.Dn(self.ldb, "dc=foo15,bar=bloe")
|
||||
self.assertTrue(x.validate())
|
||||
|
Loading…
Reference in New Issue
Block a user