summaryrefslogtreecommitdiff
path: root/testprogs
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-09-21 16:42:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:19:12 -0500
commit952ac3cba5a511ddbad82b826c1aa4b201a46891 (patch)
tree9188fd99128f3d3ad65fca906a48f5f17f9fba69 /testprogs
parentb82c525d1357cdde2ed1fc0adc33ac6c65a6de23 (diff)
downloadsamba-952ac3cba5a511ddbad82b826c1aa4b201a46891.tar.gz
samba-952ac3cba5a511ddbad82b826c1aa4b201a46891.tar.bz2
samba-952ac3cba5a511ddbad82b826c1aa4b201a46891.zip
r18786: I moved the usnChanged code around, and it now loaded in a different
module. I forgot to commit this last night. Andrew Bartlett (This used to be commit 6c5f4af01fea1e3b38d18d5b1491cb22701317cf)
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");