diff options
| author | Ken Raeburn <raeburn@mit.edu> | 2002-12-19 01:56:45 +0000 |
|---|---|---|
| committer | Ken Raeburn <raeburn@mit.edu> | 2002-12-19 01:56:45 +0000 |
| commit | 7f2cc81f93920233d912feae3c8a09111f3460f2 (patch) | |
| tree | 82aa7a4ee42e6ee401380a0c52069b45a31b9506 /src/lib | |
| parent | d62e2f08e4257d005be10acd429ddd30fadb82e7 (diff) | |
| download | krb5-7f2cc81f93920233d912feae3c8a09111f3460f2.tar.gz krb5-7f2cc81f93920233d912feae3c8a09111f3460f2.tar.xz krb5-7f2cc81f93920233d912feae3c8a09111f3460f2.zip | |
* 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
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/kadm5/unit-test/ChangeLog | 9 | ||||
| -rw-r--r-- | src/lib/kadm5/unit-test/api.2/init-v2.exp | 3 | ||||
| -rw-r--r-- | src/lib/kadm5/unit-test/lib/lib.t | 1 |
3 files changed, 10 insertions, 3 deletions
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 <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 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 |
