summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtestprogs/ejs/ldap.js7
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)