Subject: | Tests fail if run by current user with cached Kerberos 5 credentials |
Date: | Sun, 13 Dec 2015 16:47:48 -0700 |
To: | bug-GSSAPI [...] rt.cpan.org |
From: | Joel Maslak <jmaslak [...] antelope.net> |
Test output:
===
t/1constants.t ..... ok
t/2status.t ........ ok
t/checkoids.t ...... ok
t/importnames.t .... ok
# KRB5 old Mechtype, Kerberos 5, SPNEGO
t/indicatemechs.t .. ok
# Failed test '$cred1->inquire_cred($name, $lifetime, $cred_usage,
$oidset'
# at t/inquire_cred.t line 47.
# inquire_cred() lifetime: 0 seconds
# inquire_cred() credusage: 1 (GSS_C_INITIATE)
(in cleanup) oidset has no value.
# Looks like you failed 1 test of 6.
t/inquire_cred.t ...
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/6 subtests
t/pod.t ............ ok
t/test.t ........... ok
#
#
# if you want to run tests that do a realworld *use* of your GSSAPI
# start a kinit and try to run
#
# ./examples/getcred_hostbased.pl
#
t/zbugfixes.t ...... ok
===
The test passed after I did a kdestroy and ran the test again. Output of
klist prior to kdestroy:
Ticket cache: FILE:/tmp/krb5cc_1000_aaaaaaaaa
Default principal: jmaslak@ANTELOPE.NET
Valid starting Expires Service principal
12/12/2015 15:46:32 12/13/2015 01:46:32 krbtgt/ANTELOPE.NET@ANTELOPE.NET
renew until 12/13/2015 21:46:29