summaryrefslogtreecommitdiff
path: root/source4/torture/local
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-04-11 11:33:45 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-04-11 11:33:45 +0200
commitc7dfe736a88549f5793521609aca68ca85545c1b (patch)
tree46b1966e5b15ed3520a16d27bbb685c9e7cc9790 /source4/torture/local
parent52ab3ca5e697bc638a20a338b857521ee69949a7 (diff)
downloadsamba-c7dfe736a88549f5793521609aca68ca85545c1b.tar.gz
samba-c7dfe736a88549f5793521609aca68ca85545c1b.tar.bz2
samba-c7dfe736a88549f5793521609aca68ca85545c1b.zip
s4:torture - "dbspeed" test - add newlines as we have them in the other failure messages
Diffstat (limited to 'source4/torture/local')
-rw-r--r--source4/torture/local/dbspeed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/local/dbspeed.c b/source4/torture/local/dbspeed.c
index 38dd01c413..77e0174a31 100644
--- a/source4/torture/local/dbspeed.c
+++ b/source4/torture/local/dbspeed.c
@@ -223,13 +223,13 @@ static bool test_ldb_speed(struct torture_context *torture, const void *_data)
i = random() % torture_entries;
dn = ldb_dn_new_fmt(tmp_ctx, ldb, "SID=S-1-5-21-53173311-3623041448-2049097239-%u", i);
if (ldb_search(ldb, tmp_ctx, &res, dn, LDB_SCOPE_BASE, NULL, NULL) != LDB_SUCCESS || res->count != 1) {
- torture_result(torture, TORTURE_FAIL, "Failed to find SID %d", i);
+ torture_result(torture, TORTURE_FAIL, "Failed to find SID %d!\n", i);
goto failed;
}
talloc_free(res);
talloc_free(dn);
if (ldb_search(ldb, tmp_ctx, &res, NULL, LDB_SCOPE_SUBTREE, NULL, "(UID=%u)", i) != LDB_SUCCESS || res->count != 1) {
- torture_result(torture, TORTURE_FAIL, "Failed to find UID %d", i);
+ torture_result(torture, TORTURE_FAIL, "Failed to find UID %d!\n", i);
goto failed;
}
talloc_free(res);