summaryrefslogtreecommitdiff
path: root/source4/torture/raw
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-03-30 15:47:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:59:24 -0500
commitf964db91e7e3bc893b4c7feaab0f9d37c325d9d3 (patch)
treec63eff664efa71f09f89dc2abeffe4c9978c9f45 /source4/torture/raw
parent96b5dd789be8468ca73665dc47da3779aaefe609 (diff)
downloadsamba-f964db91e7e3bc893b4c7feaab0f9d37c325d9d3.tar.gz
samba-f964db91e7e3bc893b4c7feaab0f9d37c325d9d3.tar.bz2
samba-f964db91e7e3bc893b4c7feaab0f9d37c325d9d3.zip
r14826: initialize pid1 and pid2:-)
metze (This used to be commit 45e28329723c15c1ba6b8420cd3689cd03613de7)
Diffstat (limited to 'source4/torture/raw')
-rw-r--r--source4/torture/raw/context.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/torture/raw/context.c b/source4/torture/raw/context.c
index d67812ccb8..0c9bcc417f 100644
--- a/source4/torture/raw/context.c
+++ b/source4/torture/raw/context.c
@@ -535,6 +535,9 @@ static BOOL test_pid_exit_only_sees_open(struct smbcli_state *cli, TALLOC_CTX *m
return False;
}
+ pid1 = cli->session->pid;
+ pid2 = pid1 + 1;
+
printf("pid1=%d pid2=%d\n", pid1, pid2);
printf("create a file using pid1\n");