summaryrefslogtreecommitdiff
path: root/testprogs
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-06-03 15:11:42 -0700
committerAndrew Tridgell <tridge@samba.org>2008-06-03 15:11:42 -0700
commit70219bee139445ab6116def04e25c245871f8391 (patch)
tree5bd69a8fe4e664ca5abfeaed1ce2983ebb5f48ca /testprogs
parent7c926ff1150133127c73b9b46d82524f57b3c616 (diff)
parent446748bfe1f06d0900e44fe8acafdf856d54486e (diff)
downloadsamba-70219bee139445ab6116def04e25c245871f8391.tar.gz
samba-70219bee139445ab6116def04e25c245871f8391.tar.bz2
samba-70219bee139445ab6116def04e25c245871f8391.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit 9d74201e462f2f95ed5bd91200681db3bd2a9277)
Diffstat (limited to 'testprogs')
-rwxr-xr-xtestprogs/ejs/ldap.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/testprogs/ejs/ldap.js b/testprogs/ejs/ldap.js
index 44e4c83e67..a5e6ab37c4 100755
--- a/testprogs/ejs/ldap.js
+++ b/testprogs/ejs/ldap.js
@@ -486,11 +486,11 @@ sn: ldap user2
assert(res.msgs.length == 2);
}
- var res = ldb.search("(&(anr=testy ldap)(objectClass=user))");
- if (res.error != 0 || res.msgs.length != 2) {
- println("Found only " + res.msgs.length + " for (&(anr=\"testy ldap\")(objectClass=user))");
+ var res = ldb.search("(&(anr=\"testy ldap\")(objectClass=user))");
+ if (res.error != 0 || res.msgs.length != 0) {
+ println("Found " + res.msgs.length + " for (&(anr=\"testy ldap\")(objectClass=user))");
assert(res.error == 0);
- assert(res.msgs.length == 2);
+ assert(res.msgs.length == 0);
}
// Testing ldb.search for (&(anr=ldap)(objectClass=user))