From: Tom Yu Date: Wed, 9 Aug 2000 22:00:57 +0000 (+0000) Subject: * default.exp: Add an eof clause to avoid breakage if rlogin exits X-Git-Tag: krb5-1.3-alpha1~1922 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d658ec208392878b477ba4c74d8496caabad08f1;p=krb5.git * default.exp: Add an eof clause to avoid breakage if rlogin exits too quickly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12618 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/tests/dejagnu/config/ChangeLog b/src/tests/dejagnu/config/ChangeLog index 718698bbd..38d2b95f1 100644 --- a/src/tests/dejagnu/config/ChangeLog +++ b/src/tests/dejagnu/config/ChangeLog @@ -1,3 +1,8 @@ +2000-08-09 Tom Yu + + * default.exp: Add an eof clause to avoid breakage if rlogin exits + too quickly. + 2000-08-08 Ezra Peisach * default.exp: Create krb.conf and krb.realms files for v4 diff --git a/src/tests/dejagnu/config/default.exp b/src/tests/dejagnu/config/default.exp index 459cdfebd..76a27cfab 100644 --- a/src/tests/dejagnu/config/default.exp +++ b/src/tests/dejagnu/config/default.exp @@ -1445,6 +1445,12 @@ proc setup_root_shell { testname } { stop_root_shell return 0 } + eof { + perror "eof from rlogin $hostname -l root" + stop_root_shell + catch "expect_after" + return 0 + } } expect_after {