Useful when running tests on VM with low entropy
Reviewed-by: Simo Sorce <simo@redhat.com>
Closexs #77
kdcenv.update(wrapenv)
with (open(testlog, 'a')) as logfile:
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)
"-r", TESTREALM, "-P", KDC_PASSWORD],
stdout=logfile, stderr=logfile,
env=kdcenv, preexec_fn=os.setsid)