Subject: | t/zbugfixes.t test fails with VAS |
Date: | Tue, 04 Apr 2006 21:40:15 +1000 |
To: | bug-GSSAPI [...] rt.cpan.org |
From: | David Leonard <David.Leonard [...] quest.com> |
test t/zbugfixes.t fails with VAS because the realm is converted to
uppercase for display.
$keystring = chpasswd@mars.gac.edu
$display = chpasswd@MARS.GAC.EDU
I guess the easiest solution is to change the test from
$keystring eq $display
to
$display =~ m/^\Q$keystring\E$/i
Please also see ticket 5681.
Follows is the full output from 'make test'
$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1constants....ok
1/72 skipped: GSS_S_CRED_UNAVAIL not defined on Heimdal
t/2status.......ok
t/checkoids.....ok
t/test..........ok
2/28 skipped: oid_to_str not supportetd on Heimdal
t/zbugfixes.....# Failed test (t/zbugfixes.t at line 17)
t/zbugfixes.....NOK 1# Looks like you failed 1 tests of 1.
t/zbugfixes.....dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/zbugfixes.t 1 256 1 1 100.00% 1
3 subtests skipped.
Failed 1/5 test scripts, 80.00% okay. 1/144 subtests failed, 99.31% okay.
make: *** [test_dynamic] Error 2
Also, here is the full output from the build using VAS
$ svn info | grep ^URL
URL:
https://svn.sourceforge.net/svnroot/perlgssapi/GSSAPI/releases/GSSAPI-0.20
$ perl Makefile.PL
Welcome to GSSAPI.pm setup!
run "perl Makefile.PL --help" to see further installation options
----------------------------------------------------------
Searching krb5-config command...
/opt/quest/bin/krb5-config
----------------------------------------------------------
using GSSAPI implementation
VAS 3.0.1 (Heimdal 0.7)
----------------------------------------------------------
Adding from your Perlinstallation ($Config{lddlflags}) to LDDLFLAGS
-shared
----------------------------------------------------------
Bypassing to LDDLFLAGS
-shared -Wl,-rpath -Wl,/opt/quest/lib:/opt/quest/lib/support
----------------------------------------------------------
Adding own DEFINEs
-DHEIMDAL
----------------------------------------------------------
Using LIBS
-L/opt/quest/lib -lvas -L/opt/quest/lib/support -lgcc_s
----------------------------------------------------------
Using INC includeconfiguration
-I/opt/quest/include
----------------------------------------------------------
Checking if your kit is complete...
Looks good
Writing Makefile for GSSAPI
davidl@willy-wagtail:GSSAPI-svn$ make
cp GSSAPI.pm blib/lib/GSSAPI.pm
cp GSSAPI/OID/Set.pm blib/lib/GSSAPI/OID/Set.pm
cp GSSAPI/OID.pm blib/lib/GSSAPI/OID.pm
cp GSSAPI/Status.pm blib/lib/GSSAPI/Status.pm
/usr/bin/perl /usr/lib/perl5/5.8.6/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8.6/ExtUtils/typemap -typemap typemap GSSAPI.xs >
GSSAPI.xsc && mv GSSAPI.xsc GSSAPI.c
cc -c -I/opt/quest/include -D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i586 -mcpu=i686
-fmessage-length=0 -Wall -g -Wall -pipe -DVERSION=\"0.20\"
-DXS_VERSION=\"0.20\" -fPIC
"-I/usr/lib/perl5/5.8.6/i586-linux-thread-multi/CORE" -DHEIMDAL GSSAPI.c
GSSAPI.c: In function `XS_GSSAPI__Status_new':
GSSAPI.c:254: warning: unused variable `class'
GSSAPI.c: In function `XS_GSSAPI__Name_new':
GSSAPI.c:504: warning: unused variable `class'
GSSAPI.c: In function `XS_GSSAPI__Name_import':
GSSAPI.c:554: warning: unused variable `class'
GSSAPI.c: In function `XS_GSSAPI__OID_new':
GSSAPI.c:857: warning: unused variable `class'
GSSAPI.c: In function `XS_GSSAPI__OID_DESTROY':
xs/OID.xs:14: warning: unused variable `minor'
GSSAPI.c: In function `XS_GSSAPI__OID_from_str':
GSSAPI.c:919: warning: unused variable `class'
GSSAPI.c: In function `XS_GSSAPI__OID__Set_new':
GSSAPI.c:1312: warning: unused variable `class'
GSSAPI.c: In function `XS_GSSAPI__Binding_new':
GSSAPI.c:1918: warning: unused variable `class'
GSSAPI.c: In function `XS_GSSAPI__Context_new':
GSSAPI.c:2270: warning: unused variable `class'
GSSAPI.c: In function `XS_GSSAPI__Context_import':
GSSAPI.c:3044: warning: unused variable `class'
Running Mkbootstrap for GSSAPI ()
chmod 644 GSSAPI.bs
rm -f blib/arch/auto/GSSAPI/GSSAPI.so
LD_RUN_PATH="/opt/quest/lib:/opt/quest/lib/support" cc -shared
-Wl,-rpath -Wl,/opt/quest/lib:/opt/quest/lib/support GSSAPI.o -o
blib/arch/auto/GSSAPI/GSSAPI.so -L/opt/quest/lib -lvas
-L/opt/quest/lib/support -lgcc_s
chmod 755 blib/arch/auto/GSSAPI/GSSAPI.so
cp GSSAPI.bs blib/arch/auto/GSSAPI/GSSAPI.bs
chmod 644 blib/arch/auto/GSSAPI/GSSAPI.bs
Manifying blib/man3/GSSAPI.3pm
Manifying blib/man3/GSSAPI::OID::Set.3pm
Manifying blib/man3/GSSAPI::OID.3pm
Manifying blib/man3/GSSAPI::Status.3pm