From: Ken Raeburn Date: Thu, 19 Dec 2002 01:56:45 +0000 (+0000) Subject: * api.2/init-v2.exp (test150, test151, test153): Don't try to set KRB5CCNAME; X-Git-Tag: krb5-1.3-alpha1~218 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7f2cc81f93920233d912feae3c8a09111f3460f2;p=krb5.git * 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. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15056 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/kadm5/unit-test/ChangeLog b/src/lib/kadm5/unit-test/ChangeLog index 81bfb13f8..6f353a05a 100644 --- a/src/lib/kadm5/unit-test/ChangeLog +++ b/src/lib/kadm5/unit-test/ChangeLog @@ -1,3 +1,12 @@ +2002-12-18 Ken Raeburn + + * 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 * api.2/init-v2.exp (test106): Make regexp more forgiving of diff --git a/src/lib/kadm5/unit-test/api.2/init-v2.exp b/src/lib/kadm5/unit-test/api.2/init-v2.exp index 0e3359b19..58fe1a8b9 100644 --- a/src/lib/kadm5/unit-test/api.2/init-v2.exp +++ b/src/lib/kadm5/unit-test/api.2/init-v2.exp @@ -570,7 +570,6 @@ test "init 150" 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 { @@ -586,7 +585,6 @@ test "init 151" 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 { @@ -615,7 +613,6 @@ test "init 153" 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 \ diff --git a/src/lib/kadm5/unit-test/lib/lib.t b/src/lib/kadm5/unit-test/lib/lib.t index d1730d9a4..20277942c 100644 --- a/src/lib/kadm5/unit-test/lib/lib.t +++ b/src/lib/kadm5/unit-test/lib/lib.t @@ -246,6 +246,7 @@ proc kinit { princ pass {opts ""} } { # the parent, which is us, to read pending data. expect { + "when initializing cache" { error "kinit failed: $expect_out(buffer)" } eof {} } wait