summaryrefslogtreecommitdiff
path: root/selftest/selftesthelpers.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-10-27 05:23:57 -0800
committerJelmer Vernooij <jelmer@samba.org>2012-10-27 07:01:10 -0800
commit66980989e5b28490cd7b04b576cf39d26f183b90 (patch)
treee1033b7f9339ebefb31c2d7b745d723be19c7f98 /selftest/selftesthelpers.py
parent13269923585888912e2433c15c0ca010a9897595 (diff)
downloadsamba-66980989e5b28490cd7b04b576cf39d26f183b90.tar.gz
source3.selftest: Move more variables to be in common.
Diffstat (limited to 'selftest/selftesthelpers.py')
-rw-r--r--selftest/selftesthelpers.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/selftest/selftesthelpers.py b/selftest/selftesthelpers.py
index 8d36356293e..34d0e07282f 100644
--- a/selftest/selftesthelpers.py
+++ b/selftest/selftesthelpers.py
@@ -29,6 +29,9 @@ def srcdir():
def source4dir():
return os.path.normpath(os.path.join(srcdir(), "source4"))
+def source3dir():
+ return os.path.normpath(os.path.join(srcdir(), "source3"))
+
def bindir():
return os.path.normpath(os.getenv("BINDIR", "./bin"))
@@ -192,6 +195,7 @@ def get_env_torture_options():
samba4srcdir = source4dir()
+samba3srcdir = source3dir()
bbdir = os.path.join(srcdir(), "testprogs/blackbox")
configuration = "--configfile=$SMB_CONF_PATH"
@@ -233,3 +237,9 @@ def plansmbtorture4testsuite(name, env, options, target, modname=None):
def smbtorture4_testsuites(prefix):
return filter(lambda x: x.startswith(prefix), smbtorture4_testsuite_list)
+
+
+smbclient3 = binpath('smbclient3')
+smbtorture3 = binpath('smbtorture3')
+ntlm_auth3 = binpath('ntlm_auth3')
+net = binpath('net')