From ffdb1c3e00c233efc99e8f1a66a5f83beb4e07f3 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Tue, 25 Jan 2022 17:59:37 +0100 Subject: CI: add test "smb2.async_dosmode" Verifies async-dosmode sync fallback works with shadow_copy2 which returns ENOSYS for SMB_VFS_GET_DOS_ATTRIBUTES_SEND(). BUG: https://bugzilla.samba.org/show_bug.cgi?id=14957 Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- selftest/target/Samba3.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'selftest/target/Samba3.pm') diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index 5e7f04f497d..7961676c6d4 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -1642,6 +1642,12 @@ sub setup_simpleserver aio_pthread:aio open = yes smbd async dosmode = yes +[async_dosmode_shadow_copy2] + path = $prefix_abs/share + read only = no + vfs objects = shadow_copy2 xattr_tdb + smbd async dosmode = yes + [vfs_aio_fork] path = $prefix_abs/share vfs objects = aio_fork -- cgit v1.2.1