Subject: | Test fail when SVN::Mirror is not installed |
Hello,
I was installing this module and elected to not install the SVN::Mirror
dependency as I don't need it. ( maybe I should have installed it, but
at least it helped me uncover this bug, ha! )
I see some tests skip because the dep wasn't installed, but a few still
tried to load it and FAILed.
t/mirror/sync-replaced.t .............. skipped: require SVN::Mirror
t/mirror/sync-replicate.t ............. ok
t/mirror/sync-revhole.t ............... ok
# Different at 8:
# Can't locate SVN/Mirror.pm in @INC (@INC contains:
/root/.cpanplus/5.10.0/build/SVK-v2.2.3/inc
/root/.cpanplus/5.10.0/build/SVK-v2.2.3/blib/lib
/root/.cpanplus/5.10.0/build/SVK-v2.2.3/blib/arch
/root/.cpanplus/5.10.0/build/SVK-v2.2.3/blib/lib
/root/.cpanplus/5.10.0/build/SVK-v2.2.3/blib/arch /etc/perl
/usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl /root/.cpanplus/5.10.0/build/SVK-v2.2.3) at
/root/.cpanplus/5.10.0/build/SVK-v2.2.3/blib/lib/SVK/Mirror.pm line 554.
# Syncing file:///tmp/svk-11426-1
# Failed test 'sync -s 3 //trunk'
# at t/mirror/sync-snapshot.t line 26.
# Failed test 'sync -t5 //trunk'
# at t/mirror/sync-snapshot.t line 35.
# Structures begin differing at:
# $got->[1] = 'Retrieving log information from 1 to 5'
# $expected->[1] = 'Retrieving log information from 4 to 5'
# Failed test 'sync -t6 //trunk'
# at t/mirror/sync-snapshot.t line 44.
# Structures begin differing at:
# $got->[2] = 'Committed revision 7 from revision 6.'
# $expected->[2] = 'Committed revision 5 from revision 6.'
# Looks like you failed 3 tests of 6.
t/mirror/sync-snapshot.t ..............
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/6 subtests
t/remove-many.t ....................... ok
t/smerge/copy-reuse.t ................. ok
t/smerge/svn-argument.t ............... ok
t/update-gone.t ....................... ok
t/uri-escape-dav-move.t ............... skipped: Test does not run under
root
t/uri-escape-dav-smerge.t ............. skipped: Test does not run under
root
t/uri-escape-dav.t .................... skipped: Test does not run under
root
t/uri-escape-util.t ................... ok
# Different at 8:
# Can't locate SVN/Mirror.pm in @INC (@INC contains:
/root/.cpanplus/5.10.0/build/SVK-v2.2.3/inc
/root/.cpanplus/5.10.0/build/SVK-v2.2.3/blib/lib
/root/.cpanplus/5.10.0/build/SVK-v2.2.3/blib/arch
/root/.cpanplus/5.10.0/build/SVK-v2.2.3/blib/lib
/root/.cpanplus/5.10.0/build/SVK-v2.2.3/blib/arch /etc/perl
/usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl /root/.cpanplus/5.10.0/build/SVK-v2.2.3) at
/root/.cpanplus/5.10.0/build/SVK-v2.2.3/blib/lib/SVK/Mirror.pm line 554.
# Syncing file:///tmp/svk-11440-1/B%20and%20K/A/N%20P1/trunk
# Failed test 'sync -s HEAD //mirror/BK2'
# at t/uri-escape.t line 54.
# Looks like you failed 1 test of 3.
t/uri-escape.t ........................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests
I assume it's just a missing SKIP block in the testfile. Thanks again
for your work on this module!
--
~Apocalypse