summaryrefslogtreecommitdiff
path: root/testprogs/ejs/samba3sam.js
diff options
context:
space:
mode:
Diffstat (limited to 'testprogs/ejs/samba3sam.js')
-rw-r--r--testprogs/ejs/samba3sam.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/testprogs/ejs/samba3sam.js b/testprogs/ejs/samba3sam.js
index e5639b8ec8..244074743d 100644
--- a/testprogs/ejs/samba3sam.js
+++ b/testprogs/ejs/samba3sam.js
@@ -914,6 +914,10 @@ replace: badPwdCount
badPwdCount: 4
";
ok = ldb.modify(ldif);
+ if (ok.error != 0) {
+ println(ok.errstr);
+ assert(ok.error == 0);
+ }
/* Check in mapped db */
attrs = new Array("description", "badPwdCount", "nextRid");
res = ldb.search("", dn, ldb.SCOPE_BASE, attrs);
@@ -992,6 +996,10 @@ replace: description
description: test
";
ok = ldb.modify(ldif);
+ if (ok.error != 0) {
+ println(ok.errstr);
+ assert(ok.error == 0);
+ }
/* Check in mapped db */
attrs = new Array("revision", "description");
res = ldb.search("", dn, ldb.SCOPE_BASE, attrs);