diff options
Diffstat (limited to 'source4/lib/ldb/wscript')
-rwxr-xr-x | source4/lib/ldb/wscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript index a0b92d57d6..f31f3dd29d 100755 --- a/source4/lib/ldb/wscript +++ b/source4/lib/ldb/wscript @@ -252,7 +252,7 @@ def test(ctx): test_prefix = "%s/st" % (Utils.g_module.blddir) shutil.rmtree(test_prefix, ignore_errors=True) os.makedirs(test_prefix) - os.putenv('TEST_DATA_PREFIX', test_prefix) + os.environ['TEST_DATA_PREFIX'] = test_prefix cmd = 'tests/test-tdb.sh' ret = samba_utils.RUN_COMMAND(cmd) print("testsuite returned %d" % ret) |