krb5 commit: Clean up default ccache in dejagnu test suite
Greg Hudson
ghudson at mit.edu
Mon Aug 5 22:35:50 EDT 2019
https://github.com/krb5/krb5/commit/2bb71569dbe5c77f372c950156fbf48c8c9ce991
commit 2bb71569dbe5c77f372c950156fbf48c8c9ce991
Author: Greg Hudson <ghudson at mit.edu>
Date: Mon Aug 5 15:39:34 2019 -0400
Clean up default ccache in dejagnu test suite
The dejagnu test suite could fail due to a leftover tmpdir/tkt ccache
containing expired tickets. Remove the ccache file along with the
keytab in delete_db. (The file cpw_keytab, formerly written as
cpw_srvtab, is not used in the dejagnu tests and has not been used
going back to 1.0, so replace that removal with the removal of
tmpdir/tkt.)
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 d6e23e7..93e2fb0 100644
--- a/src/tests/dejagnu/config/default.exp
+++ b/src/tests/dejagnu/config/default.exp
@@ -275,8 +275,8 @@ proc delete_db {} {
$tmppwd/kdc-db.ulog \
$tmppwd/replica-db $tmppwd/replica-db.ok $tmppwd/replica-db.kadm5 $tmppwd/replica-db.kadm5.lock \
$tmppwd/replica-db~ $tmppwd/replica-db~.ok $tmppwd/replica-db~.kadm5 $tmppwd/replica-db~.kadm5.lock
- # Creating a new database means we need a new keytab.
- file delete $tmppwd/keytab $tmppwd/cpw_keytab
+ # Creating a new database invalidates the keytab and ccache.
+ file delete $tmppwd/keytab $tmppwd/tkt
}
delete_db
More information about the cvs-krb5
mailing list