1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source4/torture/smb2
Jeremy Allison 30fea0d311 tests: Add 2 tests for unique fileid's with top bit set (generated from itime) for files and directories.
smb2.fileid_unique.fileid_unique
smb2.fileid_unique.fileid_unique-dir

Create 100 files or directories as fast as we can
against a "normal" share, then read info on them
and ensure (a) top bit is set (generated from itime)
and (b) uniqueness across all generated objects
(checks poor timestamp resolution doesn't create
duplicate fileids).

This shows that even on ext4, this is enough to
cause duplicate fileids to be returned.

Add knownfail.d/fileid-unique

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14928

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
2022-01-08 05:43:32 +00:00
..
acls.c s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
attr.c s4: torture: SMB2. Fix smb2.winattr to actually read the SD from the server and check it. 2020-04-16 20:42:58 +00:00
block.c s4:torture/smb2: move smb2_transport blocking to the generic block.[ch] 2020-07-08 15:54:39 +00:00
block.h s4:torture/smb2: move smb2_transport blocking to the generic block.[ch] 2020-07-08 15:54:39 +00:00
charset.c s4:torture: Convert samba4.base.charset test to smb2 2020-01-30 12:05:13 +00:00
compound.c torture: add another smbtorture compound SMB2 requests test "related9" 2021-04-08 16:13:34 +00:00
connect.c torture: fix mem leak found by ASAN (smb2_connect) 2019-08-21 15:42:43 +00:00
create.c tests: Add 2 tests for unique fileid's with top bit set (generated from itime) for files and directories. 2022-01-08 05:43:32 +00: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/smb2: add smb2.delete-on-close-perms.BUG14427 2020-07-02 15:25:31 +00:00
deny.c Convert samba4.base.deny* tests to smb2 2020-06-24 20:50:24 +00:00
dir.c lib;smbd: Fix the -Os build by initializing variables 2021-08-06 17:22:30 +00:00
dosmode.c s4/torture: add a test for dosmode and hidden files 2016-06-25 18:47:17 +02:00
durable_open.c torture: fix durable open/alloc-size test 2019-07-07 21:32:25 +00:00
durable_v2_open.c s4:torture/smb2: make smb2.durable-v2-delay tests more robust 2020-07-14 13:38:35 +00:00
getinfo.c s4:torture/smb2: add smb2.getinfo.normalized test 2019-05-01 17:22:26 +00:00
ioctl.c s4:torture/smb2: FSCTL_QUERY_NETWORK_INTERFACE_INFO should work on noperm share 2021-12-01 11:04:29 +00:00
lease_break_handler.c s4:torture/smb2: provide verbose output when we're waiting for potential lease/oplock breaks 2021-03-29 19:36:37 +00:00
lease_break_handler.h s4-torture: Add handlers to ignore incoming oplock/lease break requests 2019-04-19 17:27:13 +00:00
lease.c s4: torture. Add smb2.lease.rename_wait test to reproduce regression in delay rename for lease break code. 2021-03-31 05:12:37 +00:00
lock.c s4:torture/smb2: split replay_smb3_specification into durable handle and multichannel 2020-07-14 13:38:35 +00:00
mangle.c lib/util: remove extra safe_string.h file 2020-08-28 02:18:40 +00:00
max_allowed.c Convert samba4.base.maximum_allowed to smb2 2020-04-28 18:09:39 +00:00
maxfid.c s4/torture: move deletion out of close loop in torture_smb2_maxfid() 2021-01-28 08:11:49 +00:00
maxwrite.c s4:torture:smb2:maxwrite: compile maxwrite test at least. 2016-09-07 12:09:16 +02:00
mkdir.c s4:torture: Convert samba3.raw.mkdir test to smb2 2020-04-28 19:46:32 +00:00
multichannel.c s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
notify_disabled.c s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
notify.c s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
oplock_break_handler.c s4:torture/smb2: provide verbose output when we're waiting for potential lease/oplock breaks 2021-03-29 19:36:37 +00:00
oplock_break_handler.h s4:torture/smb2: add break_info.oplock_skip_ack 2020-07-08 15:54:39 +00:00
oplock.c s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
read_write.c s4:torture:smb2: use delete-on-close in test_rw_invalid() 2020-06-05 13:17:55 +00:00
read.c s4:torture/smb2: add smb2.read.bug14607 test 2021-07-15 23:04:34 +00:00
rename.c lib: tevent: Use system <tevent.h>, not internal header path (except in self-test). 2017-08-16 20:58:13 +02:00
replay.c s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
samba3misc.c s4:torture/smb2: try to fix a RESOURCE_LEAK in smb2.samba3misc.localposixlock1 2019-09-10 18:56:45 +00:00
scan.c s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
secleak.c s4:torture: Convert samba4.base.secleak test to smb2 2020-06-24 20:50:24 +00:00
sessid.c s4:torture: Convert samba4.base.vuid test to smb2 2020-06-24 20:50:24 +00:00
session.c s4:torture/smb2: add smb2.session.ntlmssp_bug14932 test 2022-01-04 20:07:28 +00:00
setinfo.c s4:torture:smb2 prefer torture_comment() to printf(). 2016-09-07 12:09:17 +02:00
sharemode.c torture/sharemode: fix empty initializer compile warning 2020-11-10 06:53:43 +00:00
smb2.c tests: Add 2 tests for unique fileid's with top bit set (generated from itime) for files and directories. 2022-01-08 05:43:32 +00:00
streams.c s4: torture: CHECK ret value and fail if false 2021-08-19 16:14:30 +00:00
tcon.c s4:torture: Convert samba4.base.tcon test to smb2 2020-04-28 18:09:39 +00:00
timestamps.c torture: add a test for NTTIME_FREEZE and NTTIME_THAW 2021-10-28 18:11:28 +00:00
util.c s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
wscript_build torture: Fix build on freebsd, missing deps on cmdline 2021-06-22 02:05:17 +00:00