From f2222c82a5594cfb61ca10f6ea2baa2d3d0ec62a Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Thu, 25 Oct 2001 17:31:54 +0000 Subject: [PATCH] * rsh.exp (rsh_test): Add stop_rsh_daemon before invoking start_rsh_daemon again to prevent running out of ptys. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13846 dc483132-0cff-0310-8789-dd5450dbe970 --- src/tests/dejagnu/krb-standalone/ChangeLog | 5 +++++ src/tests/dejagnu/krb-standalone/rsh.exp | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/tests/dejagnu/krb-standalone/ChangeLog b/src/tests/dejagnu/krb-standalone/ChangeLog index aa8b5a380..815bc1083 100644 --- a/src/tests/dejagnu/krb-standalone/ChangeLog +++ b/src/tests/dejagnu/krb-standalone/ChangeLog @@ -1,3 +1,8 @@ +2001-10-25 Ezra Peisach + + * rsh.exp (rsh_test): Add stop_rsh_daemon before invoking + start_rsh_daemon again to prevent running out of ptys. + 2001-10-24 Mitchell Berger * kadmin.exp: Corrected a couple of unimportant typos. Added procedures diff --git a/src/tests/dejagnu/krb-standalone/rsh.exp b/src/tests/dejagnu/krb-standalone/rsh.exp index 82f0ad3e4..f847f6071 100644 --- a/src/tests/dejagnu/krb-standalone/rsh.exp +++ b/src/tests/dejagnu/krb-standalone/rsh.exp @@ -220,7 +220,6 @@ proc rsh_test { } { stop_rsh_daemon - # Check stderr start_rsh_daemon -k set testname "rsh to stderr" @@ -243,6 +242,8 @@ proc rsh_test { } { pass $testname + stop_rsh_daemon + start_rsh_daemon -e set testname "encrypted rsh to stderr" spawn $RSH $hostname -x -k $REALMNAME -D 3544 -A $BINSH -c "'echo hello 1>&2'" -- 2.26.2