summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/rpc/unit-test/ChangeLog5
-rw-r--r--src/lib/rpc/unit-test/lib/helpers.exp1
2 files changed, 6 insertions, 0 deletions
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 <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 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" }
}
}