From 78d8bb3d4c8be80f568e1b3ecd2c515d4f3fd23a Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Thu, 14 Mar 1996 05:36:12 +0000 Subject: [PATCH] more specific check for kadmin failure message git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7638 dc483132-0cff-0310-8789-dd5450dbe970 --- src/tests/dejagnu/config/default.exp | 5 +++++ 1 file changed, 5 insertions(+) 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" -- 2.26.2