git.samba.org
/
jelmer
/
samba4-debian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c36b64
)
r8873: add more checks
author
Stefan Metzmacher
<metze@samba.org>
Sun, 31 Jul 2005 23:55:10 +0000
(23:55 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:30:13 +0000
(13:30 -0500)
metze
source/torture/local/irpc.c
patch
|
blob
|
history
diff --git
a/source/torture/local/irpc.c
b/source/torture/local/irpc.c
index 6c342a9f2d691f48b271f458981220beee0e6cb6..2558ccb5c91f34e2f6e5589147e01e093008c32a 100644
(file)
--- a/
source/torture/local/irpc.c
+++ b/
source/torture/local/irpc.c
@@
-79,11
+79,16
@@
static BOOL test_addone(TALLOC_CTX *mem_ctx,
static void irpc_callback(struct irpc_request *irpc)
{
+ struct echo_AddOne *r = irpc->r;
int *pong_count = (int *)irpc->async.private;
NTSTATUS status = irpc_call_recv(irpc);
if (!NT_STATUS_IS_OK(status)) {
printf("irpc call failed - %s\n", nt_errstr(status));
}
+ if (*r->out.out_data != r->in.in_data + 1) {
+ printf("AddOne wrong answer - %u + 1 = %u should be %u\n",
+ r->in.in_data, *r->out.out_data, r->in.in_data+1);
+ }
(*pong_count)++;
talloc_free(irpc);
}