1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-30 13:18:05 +03:00
samba-mirror/source4/torture/smb2
Ralph Boehme 15367ce4b4 s4/torture: add a leases test with stat open
This test passes against Windows 2016 but currently fails against Samba
for some reason. The test does the following:

1. A stat open on a file, then
2. a second open with a RWH-lease request

Windows grants a RWH-lease in step 2, while Samba only grants a
R-lease. Go figure...

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Sun May 28 18:52:52 CEST 2017 on sn-devel-144
2017-05-28 18:52:52 +02:00
..
acls.c s4: torture: Remove use of local variables that are simply mirroring popt_get_cmdline_credentials(). 2017-05-12 00:37:29 +02:00
compound.c s4: torture: Add TALLOC_CTX * to torture_smb2_compound_find_init() and torture_smb2_compound_init(). 2017-05-05 15:52:12 +02:00
connect.c s4:torture:smb2 prefer torture_comment() to printf(). 2016-09-07 12:09:17 +02:00
create.c s4: torture: Add a TALLOC_CTX * to torture_smb2_create_init(). 2017-05-05 15:52:12 +02:00
credits.c s4: torture: Add a TALLOC_CTX * to torture_smb2_crediting_init(). 2017-05-05 15:52:12 +02:00
delete-on-close.c s4: torture: Add a TALLOC_CTX * to torture_smb2_doc_init(). 2017-05-05 15:52:12 +02:00
dir.c s4: torture: Add a TALLOC_CTX * to torture_smb2_dir_init(). 2017-05-05 15:52:12 +02:00
dosmode.c s4/torture: add a test for dosmode and hidden files 2016-06-25 18:47:17 +02:00
durable_open.c s4: torture: Add TALLOC_CTX * to torture_smb2_durable_open_disconnect_init(), torture_smb2_durable_open_init() 2017-05-05 15:52:12 +02:00
durable_v2_open.c s4: torture: Add TALLOC_CTX * to torture_smb2_durable_v2_open_init(). 2017-05-05 15:52:12 +02:00
getinfo.c s4: torture: Add a TALLOC_CTX * to torture_smb2_getinfo_init(). 2017-05-05 15:52:14 +02:00
ioctl.c s4/torture: smb2.ioctl: add copy-chunk test with stream to smb2.ioctl 2017-05-17 23:02:09 +02:00
lease.c s4/torture: add a leases test with stat open 2017-05-28 18:52:52 +02:00
lock.c s4: torture: Add a TALLOC_CTX * to torture_smb2_lock_init(). 2017-05-05 15:52:12 +02:00
maxfid.c s4-torture: Use the correct variable type in torture_smb2_maxfid() 2017-02-23 03:18:10 +01:00
maxwrite.c s4:torture:smb2:maxwrite: compile maxwrite test at least. 2016-09-07 12:09:16 +02:00
notify_disabled.c s4: torture: Add a TALLOC_CTX * to torture_smb2_notify_disabled_init(). 2017-05-05 15:52:13 +02:00
notify.c s4: torture: Add a TALLOC_CTX * to torture_smb2_notify_init(). 2017-05-05 15:52:13 +02:00
oplock.c s4: torture: Remove use of local variables that are simply mirroring popt_get_cmdline_credentials(). 2017-05-12 00:37:29 +02:00
read.c s4: torture: Add a TALLOC_CTX * to torture_smb2_read_init(). 2017-05-05 15:52:13 +02:00
rename.c s4: torture: Add a TALLOC_CTX * to torture_smb2_rename_init(). 2017-05-05 15:52:13 +02:00
replay.c s4: torture: Remove use of local variables that are simply mirroring popt_get_cmdline_credentials(). 2017-05-12 00:37:29 +02:00
scan.c s4: torture: Remove use of local variables that are simply mirroring popt_get_cmdline_credentials(). 2017-05-12 00:37:29 +02:00
session.c s4: popt: Global replace of cmdline_credentials -> popt_get_cmdline_credentials(). 2017-05-11 20:30:13 +02:00
setinfo.c s4:torture:smb2 prefer torture_comment() to printf(). 2016-09-07 12:09:17 +02:00
smb2.c s4: torture: Add a TALLOC_CTX * to torture_smb2_getinfo_init(). 2017-05-05 15:52:14 +02:00
streams.c s4: torture: Add a TALLOC_CTX * to torture_smb2_streams_init(). 2017-05-05 15:52:13 +02:00
util.c s4: torture: Remove use of local variables that are simply mirroring popt_get_cmdline_credentials(). 2017-05-12 00:37:29 +02:00
wscript_build s4/torture: add some SMB2 crediting tests 2017-03-03 21:55:27 +01:00