summaryrefslogtreecommitdiff
path: root/testprogs
diff options
context:
space:
mode:
Diffstat (limited to 'testprogs')
-rwxr-xr-xtestprogs/ejs/ldb.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/testprogs/ejs/ldb.js b/testprogs/ejs/ldb.js
index 680420eefd..06b6ec7f50 100755
--- a/testprogs/ejs/ldb.js
+++ b/testprogs/ejs/ldb.js
@@ -154,6 +154,8 @@ cn: X9
var res = ldb.search("x=8", "cn=PartTest", ldb.SCOPE_DEFAULT);
assert(res[0].objectGUID != undefined);
+ assert(res[0].uSNCreated != undefined);
+ assert(res[0].uSNChanged != undefined);
assert(res[0].createTimestamp == undefined);
assert(res[0].whenCreated != undefined);
assert(res[0].name == "x8");
@@ -241,7 +243,7 @@ x: 11
var res8 = ldb.search("x=11", "cn=sub,cn=parttest", ldb.SCOPE_DEFAULT, attrs);
assert(res8[0].objectGUID == undefined); /* The objectGUID module is not loaded here */
- assert(res8[0].uSNCreated != undefined);
+ assert(res8[0].uSNCreated == undefined); /* The objectGUID module is not loaded here */
assert(res8[0].name == "x11");
assert(res8[0].cn == "x11");