summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-10-05 02:45:38 +0300
committerKamen Mazdrashki <kamenim@samba.org>2010-10-05 10:51:14 +0000
commitdd380e34598639cfdbe447462972fff03e44b805 (patch)
tree233d5896a4dc11eeee8d370952afb47e58888e2b
parent4aa8aaa6d2f114d4b9a4ab7d9314e9ec01ea3a69 (diff)
downloadsamba-dd380e34598639cfdbe447462972fff03e44b805.tar.gz
samba-dd380e34598639cfdbe447462972fff03e44b805.tar.bz2
samba-dd380e34598639cfdbe447462972fff03e44b805.zip
s4-test: Use absolute path for 'samba4srcdir'
-rwxr-xr-xsource4/selftest/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py
index 5a2880aea0..f8db8a4522 100755
--- a/source4/selftest/tests.py
+++ b/source4/selftest/tests.py
@@ -126,7 +126,7 @@ def plansmbtorturetestsuite(name, env, options):
plantestsuite_loadlist(modname, env, cmdline)
-samba4srcdir = os.path.normpath(os.path.join(os.path.dirname(__file__), ".."))
+samba4srcdir = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), ".."))
builddir = os.getenv("BUILDDIR", samba4srcdir)
samba4bindir = os.path.normpath(os.path.join(builddir, "bin"))
smb4torture = binpath("smbtorture")