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:
7c1fd74
)
s4:torture:smb2: remove an unused variable from the oplock-exclusive1 test
author
Michael Adam
<obnox@samba.org>
Tue, 11 Sep 2012 14:25:50 +0000
(16:25 +0200)
committer
Michael Adam
<obnox@samba.org>
Tue, 11 Sep 2012 18:10:07 +0000
(20:10 +0200)
source4/torture/smb2/oplock.c
patch
|
blob
|
history
diff --git
a/source4/torture/smb2/oplock.c
b/source4/torture/smb2/oplock.c
index d4899439860ad0ea7b6530aa7a1152c7ec02f44e..7e0ea7d2e04184784000b613aac53b537ca691a7 100644
(file)
--- a/
source4/torture/smb2/oplock.c
+++ b/
source4/torture/smb2/oplock.c
@@
-364,7
+364,6
@@
static bool test_smb2_oplock_exclusive1(struct torture_context *tctx,
NTSTATUS status;
bool ret = true;
union smb_open io;
- union smb_unlink unl;
struct smb2_handle h1;
struct smb2_handle h;
@@
-411,8
+410,6
@@
static bool test_smb2_oplock_exclusive1(struct torture_context *tctx,
CHECK_VAL(break_info.failures, 0);
torture_comment(tctx, "unlink it - should also be no break\n");
- unl.unlink.in.pattern = fname;
- unl.unlink.in.attrib = 0;
status = smb2_util_unlink(tree2, fname);
torture_assert_ntstatus_equal(tctx, status, NT_STATUS_SHARING_VIOLATION,
"Incorrect status");