krb5 commit: Clean up default ccache in dejagnu test suite

Greg Hudson <[email protected]>
Newsgroups gmane.comp.encryption.kerberos.cvs
Message-ID <[email protected]>
https://github.com/krb5/krb5/commit/2bb71569dbe5c77f372c950156fbf48c8c9ce991
commit 2bb71569dbe5c77f372c950156fbf48c8c9ce991
Author: Greg Hudson <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.