summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-08-26 19:58:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:02:37 -0500
commitf96b1778a42d8388fd1c6384cd7c90b6e4bcd437 (patch)
tree94d53311f479107ecdb760a926d86d9b9114959b /source4/torture
parent92be36316d91b594ca6c3d1ba3443209d9bc6a5b (diff)
downloadsamba-f96b1778a42d8388fd1c6384cd7c90b6e4bcd437.tar.gz
samba-f96b1778a42d8388fd1c6384cd7c90b6e4bcd437.tar.bz2
samba-f96b1778a42d8388fd1c6384cd7c90b6e4bcd437.zip
r24674: Make sure results are always on a new line, fix typo in test name.
(This used to be commit 40c1635b39b4acff0acecc734583daa0217215ce)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/basic/base.c2
-rw-r--r--source4/torture/raw/lockbench.c3
-rw-r--r--source4/torture/rpc/echo.c1
3 files changed, 5 insertions, 1 deletions
diff --git a/source4/torture/basic/base.c b/source4/torture/basic/base.c
index 55e970f130..1e03197c28 100644
--- a/source4/torture/basic/base.c
+++ b/source4/torture/basic/base.c
@@ -599,6 +599,8 @@ static BOOL rw_torture2(struct torture_context *tctx,
torture_assert_ntstatus_ok(tctx, smbcli_unlink(c1->tree, lockfname),
talloc_asprintf(tctx, "unlink failed (%s)", smbcli_errstr(c1->tree)));
+ torture_comment(tctx, "\n");
+
return correct;
}
diff --git a/source4/torture/raw/lockbench.c b/source4/torture/raw/lockbench.c
index ce90944b1d..44b60b8695 100644
--- a/source4/torture/raw/lockbench.c
+++ b/source4/torture/raw/lockbench.c
@@ -393,9 +393,10 @@ BOOL torture_bench_lock(struct torture_context *torture)
smbcli_deltree(state[0].tree, BASEDIR);
talloc_free(mem_ctx);
+ printf("\n");
return ret;
failed:
talloc_free(mem_ctx);
- return False;
+ return false;
}
diff --git a/source4/torture/rpc/echo.c b/source4/torture/rpc/echo.c
index 3608f82686..5956ed74a7 100644
--- a/source4/torture/rpc/echo.c
+++ b/source4/torture/rpc/echo.c
@@ -287,6 +287,7 @@ static bool test_sleep(struct torture_context *tctx,
}
}
}
+ printf("\n");
return true;
}