svn commit: samba r24686 - in branches/SAMBA_4_0: . source/torture/local

jelmer at samba.org jelmer at samba.org
Sun Aug 26 22:20:07 GMT 2007


Author: jelmer
Date: 2007-08-26 22:20:02 +0000 (Sun, 26 Aug 2007)
New Revision: 24686

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24686

Log:
Make sure control messages are on a new line.
Modified:
   branches/SAMBA_4_0/
   branches/SAMBA_4_0/source/torture/local/messaging.c


Changeset:

Property changes on: branches/SAMBA_4_0
___________________________________________________________________
Name: bzr:revision-info
...skipped...
Name: bzr:revision-id:v3-trunk0
...skipped...

Modified: branches/SAMBA_4_0/source/torture/local/messaging.c
===================================================================
--- branches/SAMBA_4_0/source/torture/local/messaging.c	2007-08-26 22:15:44 UTC (rev 24685)
+++ branches/SAMBA_4_0/source/torture/local/messaging.c	2007-08-26 22:20:02 UTC (rev 24686)
@@ -86,7 +86,7 @@
 
 	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 @@
 		}
 	}
 
-	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);



More information about the samba-cvs mailing list