From a200bac0937cb2b11147c29b6b490e52a856580f Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 8 Mar 2011 14:00:35 +0100 Subject: s3-selftest: only run smbtorture4 tests when smbtorture4 is available. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Tue Mar 8 14:51:18 CET 2011 on sn-devel-104 --- source3/selftest/tests.py | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'source3') diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py index 6c844f7ab8..34991a4d9a 100755 --- a/source3/selftest/tests.py +++ b/source3/selftest/tests.py @@ -195,17 +195,17 @@ if sub.returncode == 0: if t == "raw.chkpath": plansmbtorturetestsuite(t, "dc", '//$SERVER_IP/tmpcase -U$USERNAME%$PASSWORD') -test = 'rpc.lsa.lookupsids' -transports = ["ncacn_np", "ncacn_ip_tcp" ] -auth_options = ["ntlm", "spnego", "connect" ] -signseal_options = ["", ",sign", ",sign,seal"] -smb_options = ["", ",smb2"] -endianness_options = ["", ",bigendian"] -for t in transports: - for z in smb_options: - for e in endianness_options: - for a in auth_options: - for s in signseal_options: - binding_string = "%s:$SERVER_IP[%s%s%s%s]" % (t, a, s, z, e) - options = binding_string + " -U$USERNAME%$PASSWORD" - plansmbtorturetestsuite(test, "dc", options, 'over %s with [%s%s%s%s] ' % (t, a, s, z, e)) + test = 'rpc.lsa.lookupsids' + transports = ["ncacn_np", "ncacn_ip_tcp" ] + auth_options = ["ntlm", "spnego", "connect" ] + signseal_options = ["", ",sign", ",sign,seal"] + smb_options = ["", ",smb2"] + endianness_options = ["", ",bigendian"] + for t in transports: + for z in smb_options: + for e in endianness_options: + for a in auth_options: + for s in signseal_options: + binding_string = "%s:$SERVER_IP[%s%s%s%s]" % (t, a, s, z, e) + options = binding_string + " -U$USERNAME%$PASSWORD" + plansmbtorturetestsuite(test, "dc", options, 'over %s with [%s%s%s%s] ' % (t, a, s, z, e)) -- cgit