svn commit: samba r7657 - in branches/SAMBA_4_0/source/torture/rpc: .

tridge at samba.org tridge at samba.org
Thu Jun 16 23:30:03 GMT 2005


Author: tridge
Date: 2005-06-16 23:30:02 +0000 (Thu, 16 Jun 2005)
New Revision: 7657

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

Log:
test addone again after request timeout and destruction to ensure the pipe is still OK



Modified:
   branches/SAMBA_4_0/source/torture/rpc/echo.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/echo.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/echo.c	2005-06-16 23:28:24 UTC (rev 7656)
+++ branches/SAMBA_4_0/source/torture/rpc/echo.c	2005-06-16 23:30:02 UTC (rev 7657)
@@ -432,11 +432,10 @@
 	if (!NT_STATUS_EQUAL(status, NT_STATUS_IO_TIMEOUT)) {
 		printf("request should have timed out - %s\n", nt_errstr(status));
 		goto failed;
-	}
-	
+	}	
 
 	p->request_timeout = timeout_saved;
-	return True;
+	return test_addone(p, mem_ctx);
 
 failed:
 	p->request_timeout = timeout_saved;



More information about the samba-cvs mailing list