and avoid deadlock.
* rsh.exp (stop_rsh_daemon, rsh_test): Call "expect eof" to drain
pty buffer and avoid deadlock.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13837
dc483132-0cff-0310-8789-
dd5450dbe970
+2001-10-24 Tom Yu <tlyu@mit.edu>
+
+ * rcp.exp (stop_rsh_daemon): Call "expect eof" to drain pty buffer
+ and avoid deadlock.
+
+ * rsh.exp (stop_rsh_daemon, rsh_test): Call "expect eof" to drain
+ pty buffer and avoid deadlock.
+
2001-07-04 Ezra Peisach <epeisach@mit.edu>
* v4gssftp.exp, gssftp.exp: Test transfering a file > 1MB to
if [info exists krshd_pid] {
catch "close -i $krshd_spawn_id"
catch "exec kill $krshd_pid"
+ catch "expect -i $krshd_spawn_id eof"
catch "wait -i $krshd_spawn_id"
unset krshd_pid
}
if [info exists krshd_pid] {
catch "close -i $krshd_spawn_id"
catch "exec kill $krshd_pid"
+ catch "expect -i $krshd_spawn_id eof"
catch "wait -i $krshd_spawn_id"
unset krshd_pid
}
}
}
+ catch "expect eof"
if { $failed == "no" } {
if ![check_exit_status $testname] {
return