diff options
-rwxr-xr-x | selftest/target/Samba3.pm | 8 | ||||
-rwxr-xr-x | source3/selftest/tests.py | 4 |
2 files changed, 12 insertions, 0 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index 31bd15b464..cb11827881 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -344,10 +344,18 @@ sub setup_secshare($$) print "PROVISIONING server with security=share..."; + my $prefix_abs = abs_path($path); + my $secshare_options = " security = share lanman auth = yes vfs objects = $vfs_modulesdir_abs/xattr_tdb.so $vfs_modulesdir_abs/streams_depot.so + +[vfs_aio_fork] + path = $prefix_abs/share + vfs objects = $vfs_modulesdir_abs/aio_fork.so + read only = no + vfs_aio_fork:erratic_testing_mode=yes "; my $vars = $self->provision($path, diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py index f9f2e22ce0..2e13ca0923 100755 --- a/source3/selftest/tests.py +++ b/source3/selftest/tests.py @@ -102,6 +102,10 @@ for t in tests: plantestsuite("samba3.smbtorture_s3.crypt_server(s3dc).%s" % t, "s3dc", [os.path.join(samba3srcdir, "script/tests/test_smbtorture_s3.sh"), t, '//$SERVER_IP/tmpenc', '$USERNAME', '$PASSWORD', smbtorture3, "", "-l $LOCAL_PATH"]) plantestsuite("samba3.smbtorture_s3.plain(dc).%s" % t, "dc", [os.path.join(samba3srcdir, "script/tests/test_smbtorture_s3.sh"), t, '//$SERVER_IP/tmp', '$USERNAME', '$PASSWORD', smbtorture3, "", "-l $LOCAL_PATH"]) +tests = ["RW1", "RW2", "RW3"] +for t in tests: + plantestsuite("samba3.smbtorture_s3.vfs_aio_fork(secshare).%s" % t, "secshare", [os.path.join(samba3srcdir, "script/tests/test_smbtorture_s3.sh"), t, '//$SERVER_IP/vfs_aio_fork', '$USERNAME', '$PASSWORD', smbtorture3, "", "-l $LOCAL_PATH"]) + posix_tests=[ "POSIX", "POSIX-APPEND"] for t in posix_tests: |