From d658ec208392878b477ba4c74d8496caabad08f1 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Wed, 9 Aug 2000 22:00:57 +0000 Subject: [PATCH] * 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 --- src/tests/dejagnu/config/ChangeLog | 5 +++++ src/tests/dejagnu/config/default.exp | 6 ++++++ 2 files changed, 11 insertions(+) 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 { -- 2.26.2