svn commit: samba r8412 - in
branches/SAMBA_4_0/source/torture/local: .
tridge at samba.org
tridge at samba.org
Wed Jul 13 05:31:21 GMT 2005
Author: tridge
Date: 2005-07-13 05:31:21 +0000 (Wed, 13 Jul 2005)
New Revision: 8412
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8412
Log:
cope with some lost messages in the ping test (netbsd gets this)
Modified:
branches/SAMBA_4_0/source/torture/local/messaging.c
Changeset:
Modified: branches/SAMBA_4_0/source/torture/local/messaging.c
===================================================================
--- branches/SAMBA_4_0/source/torture/local/messaging.c 2005-07-13 05:30:23 UTC (rev 8411)
+++ branches/SAMBA_4_0/source/torture/local/messaging.c 2005-07-13 05:31:21 UTC (rev 8412)
@@ -101,14 +101,16 @@
if (!NT_STATUS_IS_OK(status1)) {
printf("msg1 failed - %s\n", nt_errstr(status1));
+ } else {
+ ping_count++;
}
if (!NT_STATUS_IS_OK(status2)) {
printf("msg2 failed - %s\n", nt_errstr(status2));
+ } else {
+ ping_count++;
}
- ping_count += 2;
-
while (ping_count > pong_count + 20) {
event_loop_once(ev);
}
More information about the samba-cvs
mailing list