to accomodate new program behavior.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12023
dc483132-0cff-0310-8789-
dd5450dbe970
+2000-02-07 Tom Yu <tlyu@mit.edu>
+
+ * lib/helpers.exp: Fix to call kinit and kdestroy with the -5 flag
+ to accomodate new program behavior.
+
2000-01-24 Tom Yu <tlyu@mit.edu>
* kpasswd.0/changing.exp: Fix y2k bug.
proc kinit { princ pass } {
global env;
global KINIT
- spawn -noecho $KINIT $princ;
+ spawn -noecho $KINIT -5 $princ;
expect {
-re {Password for .*: $}
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]} {