* lib/helpers.exp: Fix to call kinit and kdestroy with the -5 flag
authorTom Yu <tlyu@mit.edu>
Tue, 8 Feb 2000 00:17:59 +0000 (00:17 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 8 Feb 2000 00:17:59 +0000 (00:17 +0000)
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
src/kadmin/passwd/unit-test/lib/helpers.exp

index 10509f885c2df9233fdc91caa2c707818dd3297c..5f39ff2291f4205a093165d35e3a79e6413a3c63 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 9dcfbcf01ed83aa4355f895bdcc96d10bd06fb59..2d0320e6eddfa934c701eda35fa776050a20ff55 100644 (file)
@@ -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]} {