svn commit: samba r16068 - in branches/SAMBA_4_0/testprogs/ejs: .
abartlet at samba.org
abartlet at samba.org
Tue Jun 6 22:31:20 GMT 2006
Author: abartlet
Date: 2006-06-06 22:31:20 +0000 (Tue, 06 Jun 2006)
New Revision: 16068
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16068
Log:
Check against the correct result in the ldap.js test
Andrew Bartlett
Modified:
branches/SAMBA_4_0/testprogs/ejs/ldap.js
Changeset:
Modified: branches/SAMBA_4_0/testprogs/ejs/ldap.js
===================================================================
--- branches/SAMBA_4_0/testprogs/ejs/ldap.js 2006-06-06 22:10:52 UTC (rev 16067)
+++ branches/SAMBA_4_0/testprogs/ejs/ldap.js 2006-06-06 22:31:20 UTC (rev 16068)
@@ -160,9 +160,9 @@
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);
More information about the samba-cvs
mailing list