summaryrefslogtreecommitdiff
path: root/testprogs
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-11-02 03:39:24 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:43:59 +0100
commitb98169884b354741318ea1d1768d03215991f77f (patch)
tree6d351eab1b91007acf54a4fdfcb3fdcd71a22799 /testprogs
parent96116b7f849779119beec701db67ff18d28fdede (diff)
downloadsamba-b98169884b354741318ea1d1768d03215991f77f.tar.gz
samba-b98169884b354741318ea1d1768d03215991f77f.tar.bz2
samba-b98169884b354741318ea1d1768d03215991f77f.zip
r25788: Use a single routine to handle the creation of modify requests in the
linked_attributs code. This drasticly reduces the code duplication here. Andrew Bartlett (This used to be commit c66e188e6729a8e12854017d62067b4ae4a23af8)
Diffstat (limited to 'testprogs')
-rwxr-xr-xtestprogs/ejs/ldap.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/testprogs/ejs/ldap.js b/testprogs/ejs/ldap.js
index dec45a7697..8376b15fbb 100755
--- a/testprogs/ejs/ldap.js
+++ b/testprogs/ejs/ldap.js
@@ -659,6 +659,7 @@ objectClass: user
assert(res.msgs[0].whenCreated != undefined);
assert(res.msgs[0].nTSecurityDescriptor != undefined);
assert(res.msgs[0].member[0] == ("CN=ldaptestuser2,CN=Users," + base_dn));
+ assert(res.msgs[0].member.length == 1);
ok = ldb.del(("CN=ldaptestuser2,CN=Users," + base_dn));
if (ok.error != 0) {