1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s4:torture/smb2: add smb2.durable-v2-open.{keep,purge}-disconnected-* tests

These demonstrate which durables handles are kept and which are purged
because of various opens, writes or renames.

smb2.durable-v2-open.keep-disconnected-rh-with-stat-open
smb2.durable-v2-open.keep-disconnected-rh-with-rh-open
smb2.durable-v2-open.keep-disconnected-rh-with-rwh-open
smb2.durable-v2-open.keep-disconnected-rwh-with-stat-open

smb2.durable-v2-open.purge-disconnected-rwh-with-rwh-open
smb2.durable-v2-open.purge-disconnected-rwh-with-rh-open
smb2.durable-v2-open.purge-disconnected-rh-with-share-none-open
smb2.durable-v2-open.purge-disconnected-rh-with-write
smb2.durable-v2-open.purge-disconnected-rh-with-rename

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15649
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15651
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15708

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Stefan Metzmacher 2024-09-04 18:18:43 +02:00
parent 77c7741f39
commit 9e98cd5c7a
3 changed files with 1860 additions and 0 deletions

View File

@ -1,3 +1,5 @@
^samba3.smb2.durable-v2-open.statRH-and-lease ^samba3.smb2.durable-v2-open.statRH-and-lease
^samba3.smb2.durable-v2-open.two-same-lease ^samba3.smb2.durable-v2-open.two-same-lease
^samba3.smb2.durable-v2-open.two-different-lease ^samba3.smb2.durable-v2-open.two-different-lease
^samba3.smb2.durable-v2-open.keep-disconnected-rh-with-stat-open
^samba3.smb2.durable-v2-open.keep-disconnected-rwh-with-stat-open

View File

@ -0,0 +1,7 @@
#
# https://bugzilla.samba.org/show_bug.cgi?id=15708 is not fixed
# yet, it requires some complex changes within handle_share_mode_lease()
# merging logic of open_mode_check() and delay_for_oplock()...
#
^samba3.smb2.durable-v2-open.keep-disconnected-rh-with-rh-open
^samba3.smb2.durable-v2-open.keep-disconnected-rh-with-rwh-open

File diff suppressed because it is too large Load Diff