diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-06-06 22:31:20 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:08:56 -0500 |
commit | 7707d453c61c7b2639f0da013163584c3d5074d0 (patch) | |
tree | 0ccff8467d6b706ba037e368838ad166373b23cd /testprogs | |
parent | 4f619f48740e075dc00a61d97f8a0f550cb2f5b8 (diff) | |
download | samba-7707d453c61c7b2639f0da013163584c3d5074d0.tar.gz samba-7707d453c61c7b2639f0da013163584c3d5074d0.tar.bz2 samba-7707d453c61c7b2639f0da013163584c3d5074d0.zip |
r16068: Check against the correct result in the ldap.js test
Andrew Bartlett
(This used to be commit 52b4e83a1c2cd47bf2f8b6d65419dae12631725a)
Diffstat (limited to 'testprogs')
-rwxr-xr-x | testprogs/ejs/ldap.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testprogs/ejs/ldap.js b/testprogs/ejs/ldap.js index 2429b9da5a..fa611733c9 100755 --- a/testprogs/ejs/ldap.js +++ b/testprogs/ejs/ldap.js @@ -160,9 +160,9 @@ objectClass: user println("Testing ldb.search for (&(cn=ldaptestuser)(objectCategory=cn=person,cn=schema,cn=configuration," + base_dn + "))"); var res2 = ldb.search("(&(cn=ldaptestuser)(objectCategory=cn=person,cn=schema,cn=configuration," + base_dn + "))"); - if (res.length != 1) { + if (res2.length != 1) { println("Could not find (&(cn=ldaptestuser)(objectCategory=cn=person,cn=schema,cn=configuration," + base_dn + "))"); - assert(res.length == 1); + assert(res2.length == 1); } assert(res[0].dn == res2[0].dn); |