+2004-04-02 Ken Raeburn <raeburn@mit.edu>
+
+ * lib/helpers.exp (expect_kadm_ok): Check for "ERROR" messages and
+ report them.
+
2004-02-27 Ken Raeburn <raeburn@mit.edu>
* lib/helpers.exp (expect_kadm_ok): Check for eof and report a
expect {
-i $kadmin_tcl_spawn_id
-re "^OK OVSEC_KADM_OK \[^\n\]*\n" {}
+ -re "^ERROR \[^\n\]*\n" { perror "kadmin tcl subprocess reported unexpected error" }
-re "^marshall_new_creds: \[^\n\]*\n" { exp_continue }
-re "^gssapi_\[^\n\]*\n" { exp_continue }
-re "^\r?\n" { exp_continue }