From ac42a2df226379e2be7d4604e612c4b068ae7269 Mon Sep 17 00:00:00 2001 From: Isaac Boukris Date: Wed, 6 Apr 2016 22:23:14 +0300 Subject: Tests: use urandom instead of random Useful when running tests on VM with low entropy Reviewed-by: Simo Sorce Closexs #77 --- tests/magtests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/magtests.py b/tests/magtests.py index 5abede0..51fa050 100755 --- a/tests/magtests.py +++ b/tests/magtests.py @@ -143,7 +143,7 @@ def setup_kdc(testdir, wrapenv): kdcenv.update(wrapenv) with (open(testlog, 'a')) as logfile: - ksetup = subprocess.Popen(["kdb5_util", "create", "-s", + ksetup = subprocess.Popen(["kdb5_util", "create", "-W", "-s", "-r", TESTREALM, "-P", KDC_PASSWORD], stdout=logfile, stderr=logfile, env=kdcenv, preexec_fn=os.setsid) -- cgit