summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorBob Campbell <bobcampbell@catalyst.net.nz>2016-08-22 14:43:41 +1200
committerGarming Sam <garming@samba.org>2016-08-25 14:22:24 +0200
commitcb243d86d892cb148d01dd87f29f86f3e2c1ebd0 (patch)
treeb58f485e0906603716b12bff9028b9f20c069d89 /source4
parent1a96f9329e718acac195e75a5156b1c147ad54ff (diff)
downloadsamba-cb243d86d892cb148d01dd87f29f86f3e2c1ebd0.tar.gz
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
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/drs/python/getnc_exop.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/drs/python/getnc_exop.py b/source4/torture/drs/python/getnc_exop.py
index 8224df1d10d..d058e663121 100644
--- a/source4/torture/drs/python/getnc_exop.py
+++ b/source4/torture/drs/python/getnc_exop.py
@@ -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,