s4:torture/raw/context: pass tctx to test_pid_exit_only_sees_open()
authorStefan Metzmacher <metze@samba.org>
Tue, 1 May 2012 10:35:28 +0000 (12:35 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 8 May 2012 00:57:07 +0000 (02:57 +0200)
metze

source4/torture/raw/context.c

index 45e7482057cd5d3d4656cb70f5a9f784fb1cea48..447a7f32c974b0bf5456dfc3800788f83b550d0c 100644 (file)
@@ -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;