diff options
Diffstat (limited to 'testprogs/ejs')
-rwxr-xr-x | testprogs/ejs/ldb.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/testprogs/ejs/ldb.js b/testprogs/ejs/ldb.js index 774219a1ab..36b175f2c1 100755 --- a/testprogs/ejs/ldb.js +++ b/testprogs/ejs/ldb.js @@ -60,6 +60,11 @@ x: 4 res = ldb.search("x=4", NULL, ldb.SCOPE_DEFAULT, attrs); assert(res.msgs[0].dn == "cn=x3,cn=test"); + ok = ldb.rename("cn=x3,cn=test", "cn=X3,cn=test"); + assert(ok.error == 0); + res = ldb.search("x=4", NULL, ldb.SCOPE_DEFAULT, attrs); + assert(res.msgs[0].dn == "cn=X3,cn=test"); + ok = ldb.modify(" dn: cn=x3,cn=test changetype: modify @@ -92,7 +97,6 @@ partition: cn=SideTest:" + prefix + "/" + "testside.ldb partition: cn=Sub,cn=PartTest:" + prefix + "/" + "testsub.ldb partition: cn=PartTest:" + prefix + "/" + "testpartition.ldb partition: cn=Sub,cn=Sub,cn=PartTest:" + prefix + "/" + "testsubsub.ldb -replicateEntries: @SUBCLASSES replicateEntries: @ATTRIBUTES replicateEntries: @INDEXLIST modules: cn=PartTest:objectguid |