summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-16 23:30:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:18 -0500
commit07c395a40b320a28f85bb21db67781f8cdd28fcd (patch)
tree46ff725999c9253e4d6da793cd836731c8535e19 /source4
parentdc8961ad42eedc4f9b26a93fb267e491a1e2af0e (diff)
downloadsamba-07c395a40b320a28f85bb21db67781f8cdd28fcd.tar.gz
samba-07c395a40b320a28f85bb21db67781f8cdd28fcd.tar.bz2
samba-07c395a40b320a28f85bb21db67781f8cdd28fcd.zip
r7657: test addone again after request timeout and destruction to ensure the pipe is still OK
(This used to be commit 9f7f70124fc67109bc9ace7a57490851341ad759)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/echo.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/torture/rpc/echo.c b/source4/torture/rpc/echo.c
index 94400247a6..a579190f47 100644
--- a/source4/torture/rpc/echo.c
+++ b/source4/torture/rpc/echo.c
@@ -432,11 +432,10 @@ static BOOL test_timeout(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
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;