From: Stefan Metzmacher Date: Fri, 20 Apr 2018 09:27:30 +0000 (+0200) Subject: selftest: add some basic testing for aio_pthread X-Git-Tag: ldb-1.4.0~560 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b805a5975ec9b5f152803764e5e5f02a92e8ddba;p=thirdparty%2Fsamba.git selftest: add some basic testing for aio_pthread Signed-off-by: Stefan Metzmacher Reviewed-by: Volker Lendecke --- diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index b93cbc27507..6c867012738 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -770,6 +770,12 @@ sub setup_simpleserver full_audit:success = none full_audit:failure = none +[vfs_aio_pthread] + path = $prefix_abs/share + read only = no + vfs objects = aio_pthread + aio_pthread:aio open = yes + [vfs_aio_fork] path = $prefix_abs/share vfs objects = aio_fork diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py index a22d5e67dda..06bda707ddb 100755 --- a/source3/selftest/tests.py +++ b/source3/selftest/tests.py @@ -112,8 +112,9 @@ tests = ["MANGLE-ILLEGAL"] for t in tests: plantestsuite("samba3.smbtorture_s3.plain(%s).%s" % (env, t), env, [os.path.join(samba3srcdir, "script/tests/test_smbtorture_s3.sh"), t, '//$SERVER_IP/mangle_illegal', '$USERNAME', '$PASSWORD', smbtorture3, "", "-l $LOCAL_PATH"]) -tests = ["RW1", "RW2", "RW3"] +tests = ["RW1", "RW2", "RW3", "SMB2-BASIC"] for t in tests: + plantestsuite("samba3.smbtorture_s3.vfs_aio_pthread(simpleserver).%s" % t, "simpleserver", [os.path.join(samba3srcdir, "script/tests/test_smbtorture_s3.sh"), t, '//$SERVER_IP/vfs_aio_pthread', '$USERNAME', '$PASSWORD', smbtorture3, "", "-l $LOCAL_PATH"]) plantestsuite("samba3.smbtorture_s3.vfs_aio_fork(simpleserver).%s" % t, "simpleserver", [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", "POSIX-SYMLINK-ACL", "POSIX-SYMLINK-EA", "POSIX-OFD-LOCK",