From fad632e233f186f2db1285a1302552c0e73bb262 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 27 Feb 2004 21:48:32 +0000 Subject: [PATCH] * lib/helpers.exp (expect_kadm_ok): Check for eof and report a specific error for that case. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16138 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/rpc/unit-test/ChangeLog | 5 +++++ src/lib/rpc/unit-test/lib/helpers.exp | 1 + 2 files changed, 6 insertions(+) diff --git a/src/lib/rpc/unit-test/ChangeLog b/src/lib/rpc/unit-test/ChangeLog index 03c929c81..b5f3d68be 100644 --- a/src/lib/rpc/unit-test/ChangeLog +++ b/src/lib/rpc/unit-test/ChangeLog @@ -1,3 +1,8 @@ +2004-02-27 Ken Raeburn + + * lib/helpers.exp (expect_kadm_ok): Check for eof and report a + specific error for that case. + 2004-02-13 Tom Yu * config/unix.exp (PRIOCNTL_HACK): Use "==" instead of "eq", which diff --git a/src/lib/rpc/unit-test/lib/helpers.exp b/src/lib/rpc/unit-test/lib/helpers.exp index c1d691e67..c76ced1d0 100644 --- a/src/lib/rpc/unit-test/lib/helpers.exp +++ b/src/lib/rpc/unit-test/lib/helpers.exp @@ -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" } } } -- 2.26.2