summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-08-26 22:20:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:02:42 -0500
commit356294da1881ac8e39a628525f3bf86c6939752e (patch)
treee1b610407117d8d1256bddec222ac1aca0f16c29 /source4/torture
parent11744d9f1d74ac3992546dd006d4c128dbfc5cbd (diff)
downloadsamba-356294da1881ac8e39a628525f3bf86c6939752e.tar.gz
samba-356294da1881ac8e39a628525f3bf86c6939752e.tar.bz2
samba-356294da1881ac8e39a628525f3bf86c6939752e.zip
r24686: Make sure control messages are on a new line.
(This used to be commit 90119f96e96ce71b1fe145be9027d925831f6500)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/local/messaging.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/local/messaging.c b/source4/torture/local/messaging.c
index 1e35bd6e28..724e2a54c7 100644
--- a/source4/torture/local/messaging.c
+++ b/source4/torture/local/messaging.c
@@ -86,7 +86,7 @@ static bool test_ping_speed(struct torture_context *tctx)
tv = timeval_current();
- torture_comment(tctx, "Sending pings for %d seconds", timelimit);
+ torture_comment(tctx, "Sending pings for %d seconds\n", timelimit);
while (timeval_elapsed(&tv) < timelimit) {
DATA_BLOB data;
NTSTATUS status1, status2;
@@ -108,18 +108,18 @@ static bool test_ping_speed(struct torture_context *tctx)
}
}
- torture_comment(tctx, "waiting for %d remaining replies (done %d)",
+ torture_comment(tctx, "waiting for %d remaining replies (done %d)\n",
ping_count - pong_count, pong_count);
while (timeval_elapsed(&tv) < 30 && pong_count < ping_count) {
event_loop_once(ev);
}
- torture_comment(tctx, "sending exit");
+ torture_comment(tctx, "sending exit\n");
messaging_send(msg_client_ctx, cluster_id(1), msg_exit, NULL);
torture_assert_int_equal(tctx, ping_count, pong_count, "ping test failed");
- torture_comment(tctx, "ping rate of %.0f messages/sec",
+ torture_comment(tctx, "ping rate of %.0f messages/sec\n",
(ping_count+pong_count)/timeval_elapsed(&tv));
talloc_free(msg_client_ctx);