summaryrefslogtreecommitdiffstats
path: root/testprogs
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-19 16:26:00 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-19 16:26:00 +0200
commit163292f325981f233b6884e9c4675bf8ded88e6b (patch)
treea115297d8050ee1c65fb01c394bf6791d9814295 /testprogs
parent3fbcc2149e6d6acee30be32f3bb1ff82155f76a1 (diff)
parentacae07bc17d3e8dbafa5667711d25616f99a91a9 (diff)
downloadsamba-163292f325981f233b6884e9c4675bf8ded88e6b.tar.gz
samba-163292f325981f233b6884e9c4675bf8ded88e6b.tar.xz
samba-163292f325981f233b6884e9c4675bf8ded88e6b.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba into noejs
Diffstat (limited to 'testprogs')
-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);