summaryrefslogtreecommitdiff
path: root/testprogs
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-08-15 02:24:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:15:36 -0500
commitb7cef043519664ecff726c7e2bf9b0ce024e892b (patch)
tree2fad26e6da4d651b03676d21e3c225e78dbb428d /testprogs
parent3ecfa9958eab6cf02aed6a740fe3beb2bc189a21 (diff)
downloadsamba-b7cef043519664ecff726c7e2bf9b0ce024e892b.tar.gz
samba-b7cef043519664ecff726c7e2bf9b0ce024e892b.tar.bz2
samba-b7cef043519664ecff726c7e2bf9b0ce024e892b.zip
r17546: Test the loading of per-partition modules.
Andrew Bartlett (This used to be commit 1a5ade30dcdf40da8d0a6d7395f1a2e93388fca3)
Diffstat (limited to 'testprogs')
-rwxr-xr-xtestprogs/ejs/ldb.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/testprogs/ejs/ldb.js b/testprogs/ejs/ldb.js
index 6851ee0b30..b1dbad773d 100755
--- a/testprogs/ejs/ldb.js
+++ b/testprogs/ejs/ldb.js
@@ -82,7 +82,7 @@ function setup_modules(ldb)
{
ok = ldb.add("
dn: @MODULES
-@LIST: rootdse,operational,objectguid,rdn_name,partition
+@LIST: rootdse,operational,rdn_name,partition
dn: cn=ROOTDSE
defaultNamingContext: cn=Test
@@ -95,6 +95,7 @@ partition: cn=Sub,cn=Sub,cn=PartTest:" + prefix + "testsubsub.ldb
replicateEntries: @SUBCLASSES
replicateEntries: @ATTRIBUTES
replicateEntries: @INDEXLIST
+modules: cn=PartTest:objectguid
");
}
@@ -238,9 +239,9 @@ x: 11
assert(res7.length == 0);
var res8 = ldb.search("x=11", "cn=sub,cn=parttest", ldb.SCOPE_DEFAULT, attrs);
- assert(res8[0].objectGUID != undefined);
- assert(res8[0].createTimestamp != undefined);
- assert(res8[0].whenCreated != undefined);
+
+ assert(res8[0].objectGUID == undefined); /* The objectGUID module is not loaded here */
+ assert(res8[0].uSNCreated != undefined);
assert(res8[0].name == "x11");
assert(res8[0].cn == "x11");