summaryrefslogtreecommitdiff
path: root/source3/selftest
diff options
context:
space:
mode:
authorSalvador I. Gonzalez <sgonzalez@codejunkie.net>2012-08-11 10:48:36 -0400
committerAndrew Bartlett <abartlet@samba.org>2012-08-14 08:37:48 +1000
commit34c4664dc0a52862ea6a36cc44d09593557a6396 (patch)
tree14354af3fb08a401c4ea2adef6ffb059bc3119cc /source3/selftest
parent14285005ec5f208327ab8236e9c33bfefe38126a (diff)
downloadsamba-34c4664dc0a52862ea6a36cc44d09593557a6396.tar.gz
samba-34c4664dc0a52862ea6a36cc44d09593557a6396.tar.bz2
samba-34c4664dc0a52862ea6a36cc44d09593557a6396.zip
s3-selftest: Add smbclient tarmode test
(With small changes to have test complete by Andrew Bartlett) Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/selftest')
-rwxr-xr-xsource3/selftest/tests.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py
index a890372883..945d26a673 100755
--- a/source3/selftest/tests.py
+++ b/source3/selftest/tests.py
@@ -203,10 +203,13 @@ for env in ["s3dc"]:
for env in ["member", "s3member"]:
plantestsuite("samba3.blackbox.smbclient_s3.sign (%s) member creds" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_s3.sh"), '$SERVER', '$SERVER_IP', '$SERVER', '$SERVER\\\\$USERNAME', '$PASSWORD', '$USERID', '$LOCAL_PATH', '$PREFIX', smbclient, wbinfo, configuration, "--signing=required"])
-# encrypted
for env in ["s3dc"]:
+ # encrypted
plantestsuite("samba3.blackbox.smbclient_s3.crypt (%s)" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_s3.sh"), '$SERVER', '$SERVER_IP', '$DOMAIN', '$USERNAME', '$PASSWORD', '$USERID', '$LOCAL_PATH', '$PREFIX', smbclient, wbinfo, configuration, "-e"])
+ # Test smbclient/tarmode
+ plantestsuite("samba3.blackbox.smbclient_tarmode (%s)" % env, env, [os.path.join(samba3srcdir, "script/tests/test_smbclient_tarmode.sh"), '$SERVER', '$SERVER_IP', '$USERNAME', '$PASSWORD', '$LOCAL_PATH', '$PREFIX', smbclient, configuration])
+
#TODO encrypted against member, with member creds, and with DC creds
plantestsuite("samba3.blackbox.net.misc", "s3dc:local",
[os.path.join(samba3srcdir, "script/tests/test_net_misc.sh"),