diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-06-09 00:04:36 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:09:00 -0500 |
commit | 2f16057bf477c2ea958d82f25a3fd533d876e0ff (patch) | |
tree | d28321123abe16eb135882ee46f7e72113ea294a /testprogs/ejs | |
parent | 4a350fd18ffff1f9164a0a8e406bbafaab609547 (diff) | |
download | samba-2f16057bf477c2ea958d82f25a3fd533d876e0ff.tar.gz samba-2f16057bf477c2ea958d82f25a3fd533d876e0ff.tar.bz2 samba-2f16057bf477c2ea958d82f25a3fd533d876e0ff.zip |
r16110: Start some simple rootDSE LDAP tests in ejs.
Andrew Bartlett
(This used to be commit 0201f0df3f3768f0d831c84c573b27bff58d00c6)
Diffstat (limited to 'testprogs/ejs')
-rwxr-xr-x | testprogs/ejs/ldap.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testprogs/ejs/ldap.js b/testprogs/ejs/ldap.js index 90a69cf1a2..69e784a59e 100755 --- a/testprogs/ejs/ldap.js +++ b/testprogs/ejs/ldap.js @@ -309,6 +309,13 @@ objectClass: user assert(res[0].cn == "ldaptestutf8user2 èùéìòà"); } + println("Testing for highestCommittedUSN"); + var attrs = new Array("highestCommittedUSN"); + var res = ldb.search("", "", ldb.SCOPE_BASE, attrs); + assert(res.length == 1); + assert(res[0].highestCommittedUSN != undefined); + assert(res[0].highestCommittedUSN != 0); + } function find_basedn(ldb) |