aboutsummaryrefslogtreecommitdiff
path: root/perl/t/kadmin.t
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2010-03-08 10:57:43 -0800
committerRuss Allbery <rra@stanford.edu>2010-03-08 10:57:43 -0800
commitbc74e98546f6d291c8b4fde55d2d3b62ac876831 (patch)
tree4810b8a40368d84cc11e18a07fb2401c85314b7c /perl/t/kadmin.t
parent98ba541f3b5e3d63604d29412847ec4d807e8e16 (diff)
parent602ff7584d3668c36b1bf5fd43988e6f45eceb48 (diff)
Merge commit 'upstream/0.11' into debian
Diffstat (limited to 'perl/t/kadmin.t')
-rwxr-xr-xperl/t/kadmin.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl/t/kadmin.t b/perl/t/kadmin.t
index 6365ce5..e5fb2fa 100755
--- a/perl/t/kadmin.t
+++ b/perl/t/kadmin.t
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
#
-# t/kadmin.t -- Tests for the kadmin object implementation.
+# Tests for the kadmin object implementation.
#
# Written by Jon Robertson <jonrober@stanford.edu>
# Copyright 2009, 2010 Board of Trustees, Leland Stanford Jr. University
@@ -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');