Skip Menu |

This queue is for tickets about the Git-MoreHooks CPAN distribution.

Report information
The Basics
Id: 127281
Status: resolved
Priority: 0/
Queue: Git-MoreHooks

People
Owner: MIKKOI [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Failed test 'commit file' (0.006)
On almost all of my smoker systems the test suite fails: ... # git version 2.11.0 # Failed test 'commit file' # at /home/cpansand/.cpan/build/2018100311/Git-Hooks-2.9.6-V6Dh6P/blib/lib/Git/Hooks/Test.pm line 258. # exit=1 # stdout= # stderr= # [Git::MoreHooks::CheckCommitAuthorFromMailmap] commit author 'Slaven\ Rezic\ \<me\.myself\@comp\.xx\>\\\'\\\ does\\\ not\\\ match\\\ in\\\ mailmap\\\ file\\\. # at .git/hooks/pre-commit line 83. # # git-version=2.11.0 # Looks like you failed 1 test of 4. You have loaded versions of test modules known to have problems with Test2. This could explain some test failures. * Module 'Test::Exception' is outdated, we recommed updating above 0.42. t/CheckCommitAuthorFromMailmap-hooks.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/4 subtests ... If it matters: the environment variables GIT_AUTHOR_NAME and GIT_COMMITTER_NAME are set on my systems, also there's a ~/.gitconfig which has user.name and user.email set.
Bug detected in code. Thank you for reporting. On Wed Oct 03 06:15:54 2018, SREZIC wrote: Show quoted text
> On almost all of my smoker systems the test suite fails: > > ... > # git version 2.11.0 > > # Failed test 'commit file' > # at /home/cpansand/.cpan/build/2018100311/Git-Hooks-2.9.6- > V6Dh6P/blib/lib/Git/Hooks/Test.pm line 258. > # exit=1 > # stdout= > # stderr= > # [Git::MoreHooks::CheckCommitAuthorFromMailmap] commit author > 'Slaven\ Rezic\ \<me\.myself\@comp\.xx\>\\\'\\\ does\\\ not\\\ > match\\\ in\\\ mailmap\\\ file\\\. > # at .git/hooks/pre-commit line 83. > # > # git-version=2.11.0 > # Looks like you failed 1 test of 4. > > You have loaded versions of test modules known to have problems with > Test2. > This could explain some test failures. > * Module 'Test::Exception' is outdated, we recommed updating above > 0.42. > > t/CheckCommitAuthorFromMailmap-hooks.t .. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/4 subtests > ... > > > If it matters: the environment variables GIT_AUTHOR_NAME and > GIT_COMMITTER_NAME are set on my systems, also there's a ~/.gitconfig > which has user.name and user.email set.
Test fixed.