From 1bc787d27102df0442122139aa290c17909d2dc1 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 26 Oct 2011 17:59:47 +1100 Subject: s3-selftest Add all the LOCAL-* smbtorture tests to make test The extra knownfail and skip entries are for tests the currently do not pass or hang. We need to work out why this happens, and fix the test or the test invocation. Andrew Bartlett --- source3/selftest/tests.py | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'source3/selftest') diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py index 064f13482b..02afde5829 100755 --- a/source3/selftest/tests.py +++ b/source3/selftest/tests.py @@ -60,13 +60,32 @@ tests=[ "FDPASS", "LOCK1", "LOCK2", "LOCK3", "LOCK4", "LOCK5", "LOCK6", "LOCK7", "GETADDRINFO", "POSIX", "UID-REGRESSION-TEST", "SHORTNAME-TEST", "LOCAL-BASE64", "LOCAL-GENCACHE", "POSIX-APPEND", "CASE-INSENSITIVE-CREATE", "SMB2-BASIC", "NTTRANS-FSCTL", - "BAD-NBT-SESSION", - "LOCAL-string_to_sid", "LOCAL-CONVERT-STRING", "LOCAL-sprintf_append"] + "BAD-NBT-SESSION"] for t in tests: plantestsuite("samba3.smbtorture_s3.plain(s3dc).%s" % t, "s3dc", [os.path.join(samba3srcdir, "script/tests/test_smbtorture_s3.sh"), t, '//$SERVER_IP/tmp', '$USERNAME', '$PASSWORD', binpath('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/tmp', '$USERNAME', '$PASSWORD', binpath('smbtorture3'), "-e", "-l $LOCAL_PATH"]) +local_tests=[ + "LOCAL-SUBSTITUTE", + "LOCAL-GENCACHE", + "LOCAL-TALLOC-DICT", + "LOCAL-BASE64", + "LOCAL-RBTREE", + "LOCAL-MEMCACHE", + "LOCAL-STREAM-NAME", + "LOCAL-WBCLIENT", + "LOCAL-string_to_sid", + "LOCAL-binary_to_sid", + "LOCAL-DBTRANS", + "LOCAL-TEVENT-SELECT", + "LOCAL-CONVERT-STRING", + "LOCAL-CONV-AUTH-INFO", + "LOCAL-sprintf_append"] + +for t in local_tests: + plantestsuite("samba3.smbtorture_s3.%s" % t, "s3dc", [os.path.join(samba3srcdir, "script/tests/test_smbtorture_s3.sh"), t, '//$SERVER_IP/tmp', '$USERNAME', '$PASSWORD', binpath('smbtorture3'), "-e"]) + tests=["--ping", "--separator", "--own-domain", "--all-domains", -- cgit