diff options
author | Ralph Boehme <slow@samba.org> | 2018-07-26 18:13:44 +0200 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2018-07-27 16:04:02 +0200 |
commit | 409d462f4976334189c751287a9fadc314a3a20e (patch) | |
tree | 6d791b37b727af74566814de9330edc4f86aaec9 /selftest | |
parent | cbb7eb1fa27da053e0fe4ffd84df39754ecbdfd4 (diff) | |
download | samba-409d462f4976334189c751287a9fadc314a3a20e.tar.gz |
selftest: run smbtorture3 SMB2-BASIC tests against additional shares
This runs the smbtorture3 SMB2-BASIC and smb2.compound_find tests against shares
with "smbd:async dosmode" enabled.
On the vfs_aio_pthread_async_dosmode_force_sync* shares we
force a sync threadpool which ensures we test behaviour on systems that
don't support unshare(CLONE_FS) and also don't support
per-thread-credentials. This simulates the code path of non linux
systems. And makes sure that we don't regress there.
We also test with xattr_tdb and without.
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Jul 27 16:04:02 CEST 2018 on sn-devel-144
Diffstat (limited to 'selftest')
-rwxr-xr-x | selftest/target/Samba3.pm | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index 253acf7aa5f..5b8cf9ea6d8 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -777,6 +777,48 @@ sub setup_simpleserver aio_pthread:aio open = yes smbd:async dosmode = no +[vfs_aio_pthread_async_dosmode_default1] + path = $prefix_abs/share + read only = no + vfs objects = aio_pthread + store dos attributes = yes + aio_pthread:aio open = yes + smbd:async dosmode = yes + +[vfs_aio_pthread_async_dosmode_default2] + path = $prefix_abs/share + read only = no + vfs objects = aio_pthread xattr_tdb + store dos attributes = yes + aio_pthread:aio open = yes + smbd:async dosmode = yes + +[vfs_aio_pthread_async_dosmode_force_sync1] + path = $prefix_abs/share + read only = no + vfs objects = aio_pthread + store dos attributes = yes + aio_pthread:aio open = yes + smbd:async dosmode = yes + # This simulates non linux systems + smbd:force sync user path safe threadpool = yes + smbd:force sync user chdir safe threadpool = yes + smbd:force sync root path safe threadpool = yes + smbd:force sync root chdir safe threadpool = yes + +[vfs_aio_pthread_async_dosmode_force_sync2] + path = $prefix_abs/share + read only = no + vfs objects = aio_pthread xattr_tdb + store dos attributes = yes + aio_pthread:aio open = yes + smbd:async dosmode = yes + # This simulates non linux systems + smbd:force sync user path safe threadpool = yes + smbd:force sync user chdir safe threadpool = yes + smbd:force sync root path safe threadpool = yes + smbd:force sync root chdir safe threadpool = yes + [vfs_aio_fork] path = $prefix_abs/share vfs objects = aio_fork |