diff options
author | Bob Campbell <bobcampbell@catalyst.net.nz> | 2016-08-22 14:43:41 +1200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2016-08-29 07:35:25 +0200 |
commit | 6f9876a7162728e201c9626792f779e8e9f5c7c5 (patch) | |
tree | ed0199ee9c7b139ee17cb03447dbc80c877c5a13 | |
parent | 6600a47dbe6716ec4b57fd8ccc73cf1f05555dc1 (diff) | |
download | samba-6f9876a7162728e201c9626792f779e8e9f5c7c5.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
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12187
(cherry picked from commit cb243d86d892cb148d01dd87f29f86f3e2c1ebd0)
-rw-r--r-- | source4/torture/drs/python/getnc_exop.py | 4 |
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, |