summaryrefslogtreecommitdiffstats
path: root/tests/magtests.py
diff options
context:
space:
mode:
authorIsaac Boukris <iboukris@gmail.com>2016-04-06 22:23:14 +0300
committerSimo Sorce <simo@redhat.com>2016-04-12 18:11:09 -0400
commitac42a2df226379e2be7d4604e612c4b068ae7269 (patch)
treec9a2adea977ea4aa08ce2c6346db35b21f0935d8 /tests/magtests.py
parentb34edb36128630ca05d768edc2419f1c945475a0 (diff)
downloadmod_auth_gssapi-ac42a2df226379e2be7d4604e612c4b068ae7269.tar.gz
mod_auth_gssapi-ac42a2df226379e2be7d4604e612c4b068ae7269.tar.xz
mod_auth_gssapi-ac42a2df226379e2be7d4604e612c4b068ae7269.zip
Tests: use urandom instead of random
Useful when running tests on VM with low entropy Reviewed-by: Simo Sorce <simo@redhat.com> Closexs #77
Diffstat (limited to 'tests/magtests.py')
-rwxr-xr-xtests/magtests.py2
1 files changed, 1 insertions, 1 deletions
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)