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:
7266774
)
move lease => skip
author
Stefan Metzmacher
<metze@samba.org>
Thu, 23 Feb 2012 13:47:53 +0000
(14:47 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 10 May 2012 16:46:53 +0000
(18:46 +0200)
source4/torture/smb2/durable_open.c
patch
|
blob
|
history
diff --git
a/source4/torture/smb2/durable_open.c
b/source4/torture/smb2/durable_open.c
index 0c20f776ea15af3aea2adc6028628df4d590a7e6..4251cd1b65ac073226661426d23f80684838942f 100644
(file)
--- a/
source4/torture/smb2/durable_open.c
+++ b/
source4/torture/smb2/durable_open.c
@@
-256,12
+256,6
@@
static bool test_one_durable_open_open_lease(struct torture_context *tctx,
struct smb2_create io;
struct smb2_lease ls;
uint64_t lease;
- uint32_t caps;
-
- caps = smb2cli_conn_server_capabilities(tree->session->transport->conn);
- if (!(caps & SMB2_CAP_LEASING)) {
- torture_skip(tctx, "leases are not supported");
- }
smb2_util_unlink(tree, fname);