* lib/helpers.exp (expect_kadm_ok): Check for eof and report a specific error
authorKen Raeburn <raeburn@mit.edu>
Fri, 27 Feb 2004 21:48:32 +0000 (21:48 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 27 Feb 2004 21:48:32 +0000 (21:48 +0000)
for that case.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16138 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/rpc/unit-test/ChangeLog
src/lib/rpc/unit-test/lib/helpers.exp

index 03c929c819562582e63bcf772e2e0e824795b8dd..b5f3d68beb22d2d6c1d98bb53c51f40013cff171 100644 (file)
@@ -1,3 +1,8 @@
+2004-02-27  Ken Raeburn  <raeburn@mit.edu>
+
+       * lib/helpers.exp (expect_kadm_ok): Check for eof and report a
+       specific error for that case.
+
 2004-02-13  Tom Yu  <tlyu@mit.edu>
 
        * config/unix.exp (PRIOCNTL_HACK): Use "==" instead of "eq", which
index c1d691e67fee8436943ee063f54e8e9d843cbc21..c76ced1d040a095f6c00afce7de589dbddf52a20 100644 (file)
@@ -54,6 +54,7 @@ proc expect_kadm_ok {} {
        -re "^marshall_new_creds: \[^\n\]*\n" { exp_continue }
        -re "^gssapi_\[^\n\]*\n" { exp_continue }
        -re "^\r?\n" { exp_continue }
+       eof     { perror "kadmin tcl subprocess died" }
        default { perror "didn't get ok back" }
     }
 }