diff options
author | Jeremy Allison <jra@samba.org> | 2012-06-04 20:44:56 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-06-05 06:25:31 +0200 |
commit | 27bb01691ca71854ba146fb62b1114e6b612f562 (patch) | |
tree | 558675c98d228804bf7bcf64637ba3c6d0372d50 /source3/selftest | |
parent | f57ca68b1c26d2a93de4a6dc415817b7babcd87f (diff) | |
download | samba-27bb01691ca71854ba146fb62b1114e6b612f562.tar.gz samba-27bb01691ca71854ba146fb62b1114e6b612f562.tar.bz2 samba-27bb01691ca71854ba146fb62b1114e6b612f562.zip |
Tests for bug #8972 - run the POSIX tests against the posix_share.
Diffstat (limited to 'source3/selftest')
-rwxr-xr-x | source3/selftest/tests.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py index c131ca238a..0d3bf04dd1 100755 --- a/source3/selftest/tests.py +++ b/source3/selftest/tests.py @@ -85,8 +85,7 @@ tests=[ "FDPASS", "LOCK1", "LOCK2", "LOCK3", "LOCK4", "LOCK5", "LOCK6", "LOCK7", "OPEN", "XCOPY", "RENAME", "DELETE", "DELETE-LN", "PROPERTIES", "W2K", "TCON2", "IOCTL", "CHKPATH", "FDSESS", "CHAIN1", "CHAIN2", "CHAIN3", - "GETADDRINFO", "POSIX", "UID-REGRESSION-TEST", "SHORTNAME-TEST", - "POSIX-APPEND", + "GETADDRINFO", "UID-REGRESSION-TEST", "SHORTNAME-TEST", "CASE-INSENSITIVE-CREATE", "SMB2-BASIC", "NTTRANS-FSCTL", "SMB2-NEGPROT", "CLEANUP1", "CLEANUP2", @@ -97,6 +96,13 @@ for t in tests: plantestsuite("samba3.smbtorture_s3.crypt(s3dc).%s" % t, "s3dc", [os.path.join(samba3srcdir, "script/tests/test_smbtorture_s3.sh"), t, '//$SERVER_IP/tmp', '$USERNAME', '$PASSWORD', smbtorture3, "-e", "-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"]) +posix_tests=[ "POSIX", "POSIX-APPEND"] + +for t in posix_tests: + plantestsuite("samba3.smbtorture_s3.plain(s3dc).%s" % t, "s3dc", [os.path.join(samba3srcdir, "script/tests/test_smbtorture_s3.sh"), t, '//$SERVER_IP/posix_share', '$USERNAME', '$PASSWORD', smbtorture3, "", "-l $LOCAL_PATH"]) + plantestsuite("samba3.smbtorture_s3.crypt(s3dc).%s" % t, "s3dc", [os.path.join(samba3srcdir, "script/tests/test_smbtorture_s3.sh"), t, '//$SERVER_IP/posix_share', '$USERNAME', '$PASSWORD', smbtorture3, "-e", "-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/posix_share', '$USERNAME', '$PASSWORD', smbtorture3, "", "-l $LOCAL_PATH"]) + env = "s3dc:local" t = "CLEANUP3" plantestsuite("samba3.smbtorture_s3.plain(%s).%s" % (env, t), env, [os.path.join(samba3srcdir, "script/tests/test_smbtorture_s3.sh"), t, '//$SERVER_IP/tmp', '$USERNAME', '$PASSWORD', binpath('smbtorture3'), "", "-l $LOCAL_PATH"]) |