summaryrefslogtreecommitdiffstats
path: root/src/tests/dejagnu/config/default.exp
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2013-12-20 11:06:52 -0500
committerGreg Hudson <ghudson@mit.edu>2013-12-20 23:10:03 -0500
commitae027dd69fc80cca549c9198d10afad389f30873 (patch)
tree343dc9b63543d39b682296b7ff6ca3d16c9f877c /src/tests/dejagnu/config/default.exp
parentc25fc42e8eac7350209df61e4a7b9960d17755ca (diff)
downloadkrb5-ae027dd69fc80cca549c9198d10afad389f30873.tar.gz
krb5-ae027dd69fc80cca549c9198d10afad389f30873.tar.xz
krb5-ae027dd69fc80cca549c9198d10afad389f30873.zip
Use an extended com_err hook in klist
Add an adapted version of extended_com_err_fn from kinit to klist and use it. In do_ccache(), rely on the ccache type to set a reasonable message if krb5_cc_set_flags() or krb5_cc_get_principal() fails due to a nonexistent or unreadable ccache, and don't confuse the user with the name of the ccache operation that failed. ticket: 7809
Diffstat (limited to 'src/tests/dejagnu/config/default.exp')
-rw-r--r--src/tests/dejagnu/config/default.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/dejagnu/config/default.exp b/src/tests/dejagnu/config/default.exp
index bd45ecef3..5d4bcfc71 100644
--- a/src/tests/dejagnu/config/default.exp
+++ b/src/tests/dejagnu/config/default.exp
@@ -2205,7 +2205,7 @@ proc do_klist_err { testname } {
spawn $KLIST -5
# Might say "credentials cache" or "credentials cache file".
expect {
- -re "klist: No credentials cache.*found.*\r\n" {
+ -re "klist: Credentials cache file .* not found.*\r\n" {
verbose "klist started"
}
timeout {