info to be dumped into the debug log.
* rsh.exp (stop_rsh_daemon): Likewise.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16127
dc483132-0cff-0310-8789-
dd5450dbe970
2004-02-25 Ken Raeburn <raeburn@mit.edu>
+ * rcp.exp (stop_rsh_daemon): Check for any output before eof,
+ causing any such info to be dumped into the debug log.
+ * rsh.exp (stop_rsh_daemon): Likewise.
+
* gssapi.exp (doit): Fix typo in log message.
2004-02-09 Ken Raeburn <raeburn@mit.edu>
if [info exists krshd_pid] {
catch "exec kill $krshd_pid"
- catch "expect -i $krshd_spawn_id eof"
+ catch {
+ expect {
+ -i $krshd_spawn_id
+ -re ..* { exp_continue }
+ eof {}
+ }
+ }
catch "close -i $krshd_spawn_id"
catch "wait -i $krshd_spawn_id"
unset krshd_pid
if [info exists krshd_pid] {
catch "exec kill $krshd_pid"
- catch "expect -i $krshd_spawn_id eof"
+ catch {
+ expect {
+ -i $krshd_spawn_id
+ -re ..* { exp_continue }
+ eof {}
+ }
+ }
catch "close -i $krshd_spawn_id"
catch "wait -i $krshd_spawn_id"
unset krshd_pid