summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/ldb/wscript6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript
index ddf12835aa..cf013ce1f2 100644
--- a/source4/lib/ldb/wscript
+++ b/source4/lib/ldb/wscript
@@ -214,9 +214,11 @@ def build(bld):
def test(ctx):
'''run ldb testsuite'''
- import Utils
+ import Utils, samba_utils
cmd = 'tests/test-tdb.sh'
- os.system(cmd)
+ ret = samba_utils.RUN_COMMAND(cmd)
+ print("testsuite returned %d" % ret)
+ sys.exit(ret)
def dist():
'''makes a tarball for distribution'''