Skip Menu |

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

Report information
The Basics
Id: 103277
Status: open
Priority: 0/
Queue: Git-Gitalist

People
Owner: Nobody in particular
Requestors: KENTNL [...] cpan.org
Cc:
AdminCc:

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



Subject: fails t/02git_object.t
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/00git_version.t t/02git_head.t t/02git_object.t t/02git_Rep
ository.t t/02git_tag.t t/02git_util.t
t/00git_version.t ..... ok   
Git version: git version 2.2.1
t/02git_head.t ........ ok   
t/02git_object.t ...... 1/?
Show quoted text
#   Failed test 'commit_obj->get_patch can return a patchset'
#   at t/02git_object.t line 195.
#          got: '0'
#     expected: '3'
Contents was  at t/02git_object.t line 195.
Show quoted text
# Looks like you failed 1 test of 38.
t/02git_object.t ...... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/38 subtests
t/02git_Repository.t .. 1/? Escape literal pattern white space under /x in regex; marked by <-- HERE in m/(|||||| <-- HERE |||||||||||||||||||||||||| |¡|¢|£|¤|¥|¦|§|¨|©|ª|«|¬|­|®|¯|°|±|²|³|´|
µ|¶|·|¸|¹|º|»|¼|½|¾|¿|À|Á|Â|Ã|Ä|Å|Æ|Ç|È|É|Ê|Ë|Ì|Í|Î|Ï|Ð|Ñ|Ò|Ó|Ô|Õ|Ö|×|Ø|Ù|Ú|Û|Ü|Ý|Þ|ß|à|á|â|ã|ä|å|æ|ç|è|é|ê|ë|ì|í|î|ï|ð|ñ|ò|ó|ô|õ|ö|÷|ø|ù|ú|û|ü|ý|þ|ÿ)/ at /usr/lib64/perl5/vendor_perl/5.20.1/Test/utf8.pm line 193.
Escape literal pattern white space under /x in regex; marked by <-- HERE in m/(|||||||||||||||||||||||||||||||| |¡|¢|£|¤|¥|¦|§|¨|©|ª|«|¬|­|®|¯|°|±|²|³|´|µ|¶|·|¸|¹|º|»|¼|½|¾|¿|À|Á|Â|Ã|Ä|Å <--
HERE |Æ|Ç|È|É|Ê|Ë|Ì|Í|Î|Ï|Ð|Ñ|Ò|Ó|Ô|Õ|Ö|×|Ø|Ù|Ú|Û|Ü|Ý|Þ|ß|à|á|â|ã|ä|å|æ|ç|è|é|ê|ë|ì|í|î|ï|ð|ñ|ò|ó|ô|õ|ö|÷|ø|ù|ú|û|ü|ý|þ|ÿ)/ at /usr/lib64/perl5/vendor_perl/5.20.1/Test/utf8.pm line 193.
t/02git_Repository.t .. ok    
t/02git_tag.t ......... ok    
t/02git_util.t ........ ok   

Test Summary Report
-------------------
t/02git_object.t    (Wstat: 256 Tests: 38 Failed: 1)
  Failed test:  37
  Non-zero exit status: 1
Files=6, Tests=89, 11 wallclock secs ( 0.09 usr  0.02 sys + 10.27 cusr  0.76 csys = 11.14 CPU)
Result: FAIL
The bug is with the format of the command get_patch produces which is than passed to IPC::Run. Specifically it is "-3 -n" which should be "-3", "-n" in lib/Git/Gitalist/Object/Commit.pm -> get_patch #replace the following code with... push @cmd, defined $patch_count ? "-$patch_count -n" : "-1"; # this code... if (defined $patch_count) { push @cmd, "-$patch_count"; push @cmd, "-n"; } else { push @cmd, "-1" } On Thu Apr 02 15:32:57 2015, KENTNL wrote: Show quoted text
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "- > MTest::Harness" > "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', > 'blib/lib', > 'blib/arch')" t/00git_version.t t/02git_head.t t/02git_object.t > t/02git_Rep > ository.t t/02git_tag.t t/02git_util.t > t/00git_version.t ..... ok > Git version: git version 2.2.1 > t/02git_head.t ........ ok > t/02git_object.t ...... 1/? > # Failed test 'commit_obj->get_patch can return a patchset' > # at t/02git_object.t line 195. > # got: '0' > # expected: '3' > Contents was at t/02git_object.t line 195. > # Looks like you failed 1 test of 38. > t/02git_object.t ...... Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/38 subtests > t/02git_Repository.t .. 1/? Escape literal pattern white space under > /x in > regex; marked by <-- HERE in m/(|||||| <-- HERE > |||||||||||||||||||||||||| > |¡|¢|£|¤|¥|¦|§|¨|©|ª|«|¬||®|¯|°|±|²|³|´| > µ|¶|·|¸|¹|º|»|¼|½|¾|¿|À|Á|Â|Ã|Ä|Å|Æ|Ç|È|É|Ê|Ë|Ì|Í|Î|Ï|Ð|Ñ|Ò|Ó|Ô|Õ|Ö|×|Ø|Ù|Ú|Û|Ü|Ý|Þ|ß|à|á|â|ã|ä|å|æ|ç|è|é|ê|ë|ì|í|î|ï|ð|ñ|ò|ó|ô|õ|ö|÷|ø|ù|ú|û|ü|ý|þ|ÿ)/ > at /usr/lib64/perl5/vendor_perl/5.20.1/Test/utf8.pm line 193. > Escape literal pattern white space under /x in regex; marked by <-- > HERE in > m/(|||||||||||||||||||||||||||||||| > |¡|¢|£|¤|¥|¦|§|¨|©|ª|«|¬||®|¯|°|±|²|³|´|µ|¶|·|¸|¹|º|»|¼|½|¾|¿|À|Á|Â|Ã|Ä|Å > <-- > HERE > |Æ|Ç|È|É|Ê|Ë|Ì|Í|Î|Ï|Ð|Ñ|Ò|Ó|Ô|Õ|Ö|×|Ø|Ù|Ú|Û|Ü|Ý|Þ|ß|à|á|â|ã|ä|å|æ|ç|è|é|ê|ë|ì|í|î|ï|ð|ñ|ò|ó|ô|õ|ö|÷|ø|ù|ú|û|ü|ý|þ|ÿ)/ > at /usr/lib64/perl5/vendor_perl/5.20.1/Test/utf8.pm line 193. > t/02git_Repository.t .. ok > t/02git_tag.t ......... ok > t/02git_util.t ........ ok > > Test Summary Report > ------------------- > t/02git_object.t (Wstat: 256 Tests: 38 Failed: 1) > Failed test: 37 > Non-zero exit status: 1 > Files=6, Tests=89, 11 wallclock secs ( 0.09 usr 0.02 sys + 10.27 cusr > 0.76 csys > = 11.14 CPU) > Result: FAIL