diff options
author | Tom Yu <tlyu@mit.edu> | 2009-07-10 19:20:26 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2009-07-10 19:20:26 +0000 |
commit | 075289025c64774553d4b13f98a95fe7a1782f5c (patch) | |
tree | ce6838e43645553a4a7a11eb31273dfde92d5baa /src/tests | |
parent | 3aa521f55761ca5c2c014388f6fe0f1ce3589114 (diff) | |
download | krb5-075289025c64774553d4b13f98a95fe7a1782f5c.tar.gz krb5-075289025c64774553d4b13f98a95fe7a1782f5c.tar.xz krb5-075289025c64774553d4b13f98a95fe7a1782f5c.zip |
Add a new '-W' option to kadmind and kdb5_util create to allow reading
weak random numbers on startup, to avoid long delays in testing
situations. Use only for testing.
Update testing scripts accordingly.
ticket: 1233
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22434 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/dejagnu/config/default.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/dejagnu/config/default.exp b/src/tests/dejagnu/config/default.exp index 107e444b4..d6a600205 100644 --- a/src/tests/dejagnu/config/default.exp +++ b/src/tests/dejagnu/config/default.exp @@ -1224,7 +1224,7 @@ proc setup_kerberos_db { standalone } { } #exec xterm verbose "starting $test" - spawn $KDB5_UTIL -r $REALMNAME create + spawn $KDB5_UTIL -r $REALMNAME create -W expect_after $def_exp_after expect "Enter KDC database master key:" @@ -1775,7 +1775,7 @@ proc start_kerberos_daemons { standalone } { # removed when this is fixed envstack_push setup_kerberos_env kdc - spawn $BINSH -c "exec $KADMIND -r $REALMNAME -nofork 2>>$kadmind_lfile" + spawn $BINSH -c "exec $KADMIND -r $REALMNAME -W -nofork 2>>$kadmind_lfile" envstack_pop set kadmind_pid [exp_pid] set kadmind_spawn_id $spawn_id |