diff options
author | Ken Raeburn <raeburn@mit.edu> | 2004-02-27 21:48:32 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2004-02-27 21:48:32 +0000 |
commit | fad632e233f186f2db1285a1302552c0e73bb262 (patch) | |
tree | 9f2d598b9814cb2ffefeb1509fbd5717c6153c24 /src/lib/rpc | |
parent | 9cd5e4909839ba4871484372e8f89cba95c14a45 (diff) | |
download | krb5-fad632e233f186f2db1285a1302552c0e73bb262.zip krb5-fad632e233f186f2db1285a1302552c0e73bb262.tar.gz krb5-fad632e233f186f2db1285a1302552c0e73bb262.tar.bz2 |
* 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
Diffstat (limited to 'src/lib/rpc')
-rw-r--r-- | src/lib/rpc/unit-test/ChangeLog | 5 | ||||
-rw-r--r-- | src/lib/rpc/unit-test/lib/helpers.exp | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/rpc/unit-test/ChangeLog b/src/lib/rpc/unit-test/ChangeLog index 03c929c..b5f3d68 100644 --- a/src/lib/rpc/unit-test/ChangeLog +++ b/src/lib/rpc/unit-test/ChangeLog @@ -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 diff --git a/src/lib/rpc/unit-test/lib/helpers.exp b/src/lib/rpc/unit-test/lib/helpers.exp index c1d691e..c76ced1 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" } } } |