ldb:pytests: test for Turkic i-dots in ldb_comparison_fold
commit078ecf486a62dc3aaa2842ada96456ac9870dad7
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Tue, 16 Apr 2024 23:42:30 +0000 (17 11:42 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 23 Apr 2024 01:33:29 +0000 (23 01:33 +0000)
tree4fbe6de69f608486c95bfb781200e29290626090
parenta75c98ad688415aec8afc617a759ba90cfd9f23b
ldb:pytests: test for Turkic i-dots in ldb_comparison_fold

In tr_TR and some other locales where the letter 'i' uppercases to
'İ', which is not ideal for LDB as we need certain strings like 'guid'
to casefold in the ASCII way.

In fixing https://bugzilla.samba.org/show_bug.cgi?id=15248) we solved
this problem in many cases, but for unindexed searches where the 'i'
is not the last character in the string. This test shows that.

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

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/tests/python/api.py
selftest/knownfail.d/ldb.python.api.tr [new file with mode: 0644]