wrong. So is calling exit. Fix to not do these things. Expect
eof rather than "\r" so as to drain pty buffers and avoid
deadlock.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13931
dc483132-0cff-0310-8789-
dd5450dbe970
+2001-11-02 Tom Yu <tlyu@mit.edu>
+
+ * v4gssftp.exp: Calling send_error from within a dejagnu test is
+ wrong. So is calling exit. Fix to not do these things. Expect
+ eof rather than "\r" so as to drain pty buffers and avoid
+ deadlock.
+
2001-11-02 Tom Yu <tlyu@mit.edu>
* gssftp.exp: Calling send_error from within a dejagnu test is
set testname "quit(v4)"
send "quit\r"
- expect "\r"
+ expect_after
+ expect eof
if [check_exit_status $testname] {
pass $testname
}
}
if { $status != 0 } {
- send_error "ERROR: error in ftp.exp\n"
- send_error "$msg\n"
- exit 1
+ perror "error in gssftp.exp: $msg"
}