From: Mark Eichin Date: Thu, 14 Mar 1996 05:36:12 +0000 (+0000) Subject: more specific check for kadmin failure message X-Git-Tag: krb5-1.0-beta6~364 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=78d8bb3d4c8be80f568e1b3ecd2c515d4f3fd23a;p=krb5.git more specific check for kadmin failure message git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7638 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/tests/dejagnu/config/default.exp b/src/tests/dejagnu/config/default.exp index 16f89dffd..33ea23259 100644 --- a/src/tests/dejagnu/config/default.exp +++ b/src/tests/dejagnu/config/default.exp @@ -809,6 +809,11 @@ proc add_kerberos_key { kkey standalone } { # Use kadmin to add an key. spawn $KADMIN -m -p krbtest/admin@$REALMNAME expect_after { + "Cannot contact any KDC" { + fail "kadmin $kkey lost KDC" + catch "expect_after" + return 0 + } timeout { fail "kadmin $kkey" catch "expect_after"