From 2bb71569dbe5c77f372c950156fbf48c8c9ce991 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Mon, 5 Aug 2019 15:39:34 -0400 Subject: [PATCH] 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 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/dejagnu/config/default.exp b/src/tests/dejagnu/config/default.exp index d6e23e7171..93e2fb0f50 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 -- 2.47.2