1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

selftest: Add tests for vfs_aio_fork

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Aug 21 13:12:33 CEST 2012 on sn-devel-104
This commit is contained in:
Andrew Bartlett
2012-08-21 19:22:54 +10:00
parent e79ed4fe72
commit ebb776f51f
2 changed files with 12 additions and 0 deletions

View File

@ -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,

View File

@ -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: