summaryrefslogtreecommitdiff
path: root/selftest/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'selftest/tests.py')
-rw-r--r--selftest/tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/selftest/tests.py b/selftest/tests.py
index e02f049fb97..62dadab4974 100644
--- a/selftest/tests.py
+++ b/selftest/tests.py
@@ -23,6 +23,7 @@ from selftesthelpers import *
try:
config_h = os.environ["CONFIG_H"]
except KeyError:
+ samba4bindir = bindir()
config_h = os.path.join(samba4bindir, "default/include/config.h")
# define here var to check what we support