projects
/
mod_auth_gssapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b34edb3
)
Tests: use urandom instead of random
author
Isaac Boukris
<iboukris@gmail.com>
Wed, 6 Apr 2016 19:23:14 +0000
(22:23 +0300)
committer
Simo Sorce
<simo@redhat.com>
Tue, 12 Apr 2016 22:11:09 +0000
(18:11 -0400)
Useful when running tests on VM with low entropy
Reviewed-by: Simo Sorce <simo@redhat.com>
Closexs #77
tests/magtests.py
patch
|
blob
|
history
diff --git
a/tests/magtests.py
b/tests/magtests.py
index
5abede0
..
51fa050
100755
(executable)
--- 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)