more specific check for kadmin failure message
authorMark Eichin <eichin@mit.edu>
Thu, 14 Mar 1996 05:36:12 +0000 (05:36 +0000)
committerMark Eichin <eichin@mit.edu>
Thu, 14 Mar 1996 05:36:12 +0000 (05:36 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7638 dc483132-0cff-0310-8789-dd5450dbe970

src/tests/dejagnu/config/default.exp

index 16f89dffda9c26dba48c24d6c234184bf4520004..33ea23259d8075ad4dfaf16b0e04e99306027e97 100644 (file)
@@ -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"