git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3946fe
)
s4:torture:smb2: in the durable-v2-reopen1 test, use a minimal request
author
Michael Adam
<obnox@samba.org>
Fri, 7 Sep 2012 13:33:54 +0000
(15:33 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 7 Sep 2012 21:39:29 +0000
(23:39 +0200)
don't copy the old request, but only set the necessary fields
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/torture/smb2/durable_v2_open.c
patch
|
blob
|
history
diff --git
a/source4/torture/smb2/durable_v2_open.c
b/source4/torture/smb2/durable_v2_open.c
index 7e0e0f4616ab72db3398d668fd8c803b3b506e9f..85620965d1e8edc26c12b96ca12bc9dff6294c24 100644
(file)
--- a/
source4/torture/smb2/durable_v2_open.c
+++ b/
source4/torture/smb2/durable_v2_open.c
@@
-413,8
+413,7
@@
bool test_durable_v2_open_reopen1(struct torture_context *tctx,
/* try a durable reconnect while the file is still open */
ZERO_STRUCT(io2);
- io2.in = io1.in;
- io2.in.durable_open_v2 = false;
+ io2.in.fname = "";
io2.in.durable_handle_v2 = h;
io2.in.create_guid = io1.in.create_guid;
status = smb2_create(tree, mem_ctx, &io2);