From 50ab9300af1feea242007e18c493741879a11fee Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Tue, 8 Feb 2000 00:17:59 +0000 Subject: [PATCH] * lib/helpers.exp: Fix to call kinit and kdestroy with the -5 flag to accomodate new program behavior. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12023 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/passwd/unit-test/ChangeLog | 5 +++++ src/kadmin/passwd/unit-test/lib/helpers.exp | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/kadmin/passwd/unit-test/ChangeLog b/src/kadmin/passwd/unit-test/ChangeLog index 10509f885..5f39ff229 100644 --- a/src/kadmin/passwd/unit-test/ChangeLog +++ b/src/kadmin/passwd/unit-test/ChangeLog @@ -1,3 +1,8 @@ +2000-02-07 Tom Yu + + * lib/helpers.exp: Fix to call kinit and kdestroy with the -5 flag + to accomodate new program behavior. + 2000-01-24 Tom Yu * kpasswd.0/changing.exp: Fix y2k bug. diff --git a/src/kadmin/passwd/unit-test/lib/helpers.exp b/src/kadmin/passwd/unit-test/lib/helpers.exp index 9dcfbcf01..2d0320e6e 100644 --- a/src/kadmin/passwd/unit-test/lib/helpers.exp +++ b/src/kadmin/passwd/unit-test/lib/helpers.exp @@ -94,7 +94,7 @@ proc mytest { name kpargs status args } { proc kinit { princ pass } { global env; global KINIT - spawn -noecho $KINIT $princ; + spawn -noecho $KINIT -5 $princ; expect { -re {Password for .*: $} @@ -122,7 +122,7 @@ proc kdestroy {} { if {[info exists errorInfo]} { set saveErrorInfo $errorInfo } - catch "system $KDESTROY 2>/dev/null" + catch "system $KDESTROY -5 2>/dev/null" if {[info exists saveErrorCode]} { set errorCode $saveErrorCode } elseif {[info exists errorCode]} { -- 2.26.2