only the fact that it wasn't being done correctly prevented it from causing
test failures.
* lib/lib.t (kinit): If kinit reports a problem initializing the credentials
cache, raise an error.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15056
dc483132-0cff-0310-8789-
dd5450dbe970
+2002-12-18 Ken Raeburn <raeburn@mit.edu>
+
+ * api.2/init-v2.exp (test150, test151, test153): Don't try to set
+ KRB5CCNAME; only the fact that it wasn't being done correctly
+ prevented it from causing test failures.
+
+ * lib/lib.t (kinit): If kinit reports a problem initializing the
+ credentials cache, raise an error.
+
2002-10-18 Tom Yu <tlyu@mit.edu>
* api.2/init-v2.exp (test106): Make regexp more forgiving of
proc test150 {} {
global test KADM5_ADMIN_SERVICE
- set env(KRB5CCNAME) /tmp/krb5cc_kadm5_init_v2
kdestroy
kinit testuser notathena "-S $KADM5_ADMIN_SERVICE"
one_line_succeed_test {
proc test151 {} {
global test KADM5_CHANGEPW_SERVICE
- set env(KRB5CCNAME) /tmp/krb5cc_kadm5_init_v2
kdestroy
kinit testuser notathena "-S $KADM5_CHANGEPW_SERVICE"
one_line_succeed_test {
proc test153 {} {
global test KADM5_ADMIN_SERVICE
- set env(KRB5CCNAME) /tmp/krb5cc_kadm5_init_v2
kinit testuser notathena
one_line_fail_test {
kadm5_init_with_creds testuser null $KADM5_ADMIN_SERVICE \
# the parent, which is us, to read pending data.
expect {
+ "when initializing cache" { error "kinit failed: $expect_out(buffer)" }
eof {}
}
wait