diff options
| author | Russ Allbery <rra@stanford.edu> | 2010-03-05 14:18:10 -0800 | 
|---|---|---|
| committer | Russ Allbery <rra@stanford.edu> | 2010-03-05 14:18:10 -0800 | 
| commit | 2948d66c4c074651820004856284faf7d018a3ee (patch) | |
| tree | 7e625373796ac185c273f5e11574555f7ee8f971 /perl | |
| parent | bb9f9d6d57ea09ef8fdcf81bcc77da8f1da5b41d (diff) | |
Don't clobber the user ticket cache in the kadmin test
Diffstat (limited to 'perl')
| -rwxr-xr-x | perl/t/kadmin.t | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/perl/t/kadmin.t b/perl/t/kadmin.t index 0b52528..e5fb2fa 100755 --- a/perl/t/kadmin.t +++ b/perl/t/kadmin.t @@ -81,6 +81,9 @@ SKIP: {      $Wallet::Config::KEYTAB_KRBTYPE   = contents ('t/data/test.krbtype');      $Wallet::Config::KEYTAB_TMP       = '.'; +    # Don't destroy the user's Kerberos ticket cache. +    $ENV{KRB5CCNAME} = 'krb5cc_test'; +      # Create the object and clean up the principal we're going to use.      $kadmin = eval { Wallet::Kadmin->new };      ok (defined $kadmin, 'Creating Wallet::Kadmin object succeeds'); | 
