diff options
Diffstat (limited to 'lib/tdb/wscript')
-rw-r--r-- | lib/tdb/wscript | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/tdb/wscript b/lib/tdb/wscript index 53f81fe49b..6e00f3c917 100644 --- a/lib/tdb/wscript +++ b/lib/tdb/wscript @@ -110,9 +110,11 @@ def build(bld): def test(ctx): '''run tdb testsuite''' - import Utils + import Utils, samba_utils cmd = os.path.join(Utils.g_module.blddir, 'tdbtorture') - os.system(cmd) + ret = samba_utils.RUN_COMMAND(cmd) + print("testsuite returned %d" % ret) + sys.exit(ret) def dist(): '''makes a tarball for distribution''' |