svn commit: samba r17546 - in branches/SAMBA_4_0/testprogs/ejs: .

abartlet at samba.org abartlet at samba.org
Tue Aug 15 02:24:20 GMT 2006


Author: abartlet
Date: 2006-08-15 02:24:19 +0000 (Tue, 15 Aug 2006)
New Revision: 17546

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17546

Log:
Test the loading of per-partition modules.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/testprogs/ejs/ldb.js


Changeset:
Modified: branches/SAMBA_4_0/testprogs/ejs/ldb.js
===================================================================
--- branches/SAMBA_4_0/testprogs/ejs/ldb.js	2006-08-15 02:18:32 UTC (rev 17545)
+++ branches/SAMBA_4_0/testprogs/ejs/ldb.js	2006-08-15 02:24:19 UTC (rev 17546)
@@ -82,7 +82,7 @@
 {
 	ok = ldb.add("
 dn: @MODULES
- at LIST: rootdse,operational,objectguid,rdn_name,partition
+ at LIST: rootdse,operational,rdn_name,partition
 
 dn: cn=ROOTDSE
 defaultNamingContext: cn=Test
@@ -95,6 +95,7 @@
 replicateEntries: @SUBCLASSES
 replicateEntries: @ATTRIBUTES
 replicateEntries: @INDEXLIST
+modules: cn=PartTest:objectguid
 ");
 }
 
@@ -238,9 +239,9 @@
 	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");
 



More information about the samba-cvs mailing list