git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75494f7
)
s4:torture/raw/context: pass tctx to test_pid_exit_only_sees_open()
author
Stefan Metzmacher
<metze@samba.org>
Tue, 1 May 2012 10:35:28 +0000
(12:35 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 8 May 2012 00:57:07 +0000
(
02:57
+0200)
metze
source4/torture/raw/context.c
patch
|
blob
|
history
diff --git
a/source4/torture/raw/context.c
b/source4/torture/raw/context.c
index 45e7482057cd5d3d4656cb70f5a9f784fb1cea48..447a7f32c974b0bf5456dfc3800788f83b550d0c 100644
(file)
--- a/
source4/torture/raw/context.c
+++ b/
source4/torture/raw/context.c
@@
-523,9
+523,11
@@
done:
this test demonstrates that exit() only sees the PID
used for the open() calls
*/
-static bool test_pid_exit_only_sees_open(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
+static bool test_pid_exit_only_sees_open(struct smbcli_state *cli,
+ struct torture_context *tctx)
{
NTSTATUS status;
+ TALLOC_CTX *mem_ctx = tctx;
bool ret = true;
union smb_open io;
union smb_write wr;