mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
tests/getnc_exop: Ensure that attribute list sorting is correct
With a binary search, this can only be tested on 3+ elements. Pair-programmed-with: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Bob Campbell <bobcampbell@catalyst.net.nz> Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Garming Sam <garming@samba.org> Autobuild-Date(master): Thu Aug 25 14:22:25 CEST 2016 on sn-devel-144 BUG: https://bugzilla.samba.org/show_bug.cgi?id=12187 (cherry picked from commit cb243d86d892cb148d01dd87f29f86f3e2c1ebd0)
This commit is contained in:
parent
ef2162924b
commit
46139bb539
@ -422,7 +422,9 @@ class DrsReplicaPrefixMapTestCase(drs_base.DrsBaseTestCase, ExopBaseTest):
|
||||
pfm.mappings = tmp
|
||||
|
||||
# 90 for unicodePwd (with new prefix = 0)
|
||||
partial_attribute_set = self.get_partial_attribute_set([90])
|
||||
# 589824, 589827 for objectClass and CN
|
||||
# Use of three ensures sorting is correct
|
||||
partial_attribute_set = self.get_partial_attribute_set([90, 589824, 589827])
|
||||
req8 = self._exop_req8(dest_dsa=None,
|
||||
invocation_id=dc_guid_1,
|
||||
nc_dn_str=self.user,
|
||||
|
Loading…
x
Reference in New Issue
Block a user