summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2000-02-08 00:17:59 +0000
committerTom Yu <tlyu@mit.edu>2000-02-08 00:17:59 +0000
commit50ab9300af1feea242007e18c493741879a11fee (patch)
tree5feff86c0d704afadd7fbccac86eb79f658f50e8 /src
parent6610d5d86b17a9412615c9467a1d071b6917fe1f (diff)
downloadkrb5-50ab9300af1feea242007e18c493741879a11fee.tar.gz
krb5-50ab9300af1feea242007e18c493741879a11fee.tar.xz
krb5-50ab9300af1feea242007e18c493741879a11fee.zip
* 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
Diffstat (limited to 'src')
-rw-r--r--src/kadmin/passwd/unit-test/ChangeLog5
-rw-r--r--src/kadmin/passwd/unit-test/lib/helpers.exp4
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 <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.
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]} {