Skip Menu |

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

Report information
The Basics
Id: 118732
Status: resolved
Priority: 0/
Queue: Git-Database

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

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



Subject: t/backends.t fails (with older git?)
Some of my smokers show the following test failure: ... # Available backends: # - None # - Git # - Git::PurePerl # - Git::Repository # - Git::Sub # - Git::Wrapper error: short SHA1 577ecc is ambiguous. error: short SHA1 577ecc is ambiguous. error: short SHA1 577ecc is ambiguous. error: short SHA1 577ecc is ambiguous. # No tests run! # Failed test 'No tests run for subtest "Git::Wrapper & <empty repository>"' # at t/Util.pm line 211. git: 'command' ist kein Git-Kommando. Siehe 'git --help'. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 255 just after 70. t/backends.t ............. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/70 subtests (less 3 skipped subtests: 66 okay) ... This happens on my linux smokers (debian wheezy and jessie) and freebsd 9.2 smoker, but not the freebsd 10.1 smoker. The latter has a newer git installed (2.6.0), so maybe it fails for older git versions.
On Sun Nov 13 01:50:04 2016, SREZIC wrote: Show quoted text
> Some of my smokers show the following test failure: > > ... > # Available backends: > # - None > # - Git > # - Git::PurePerl > # - Git::Repository > # - Git::Sub > # - Git::Wrapper > error: short SHA1 577ecc is ambiguous. > error: short SHA1 577ecc is ambiguous. > error: short SHA1 577ecc is ambiguous. > error: short SHA1 577ecc is ambiguous. > # No tests run! > > # Failed test 'No tests run for subtest "Git::Wrapper & <empty
> repository>"'
> # at t/Util.pm line 211. > git: 'command' ist kein Git-Kommando. Siehe 'git --help'. > # Tests were run but no plan was declared and done_testing() was not > seen. > # Looks like your test exited with 255 just after 70. > t/backends.t ............. > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 1/70 subtests > (less 3 skipped subtests: 66 okay) > ... > > > This happens on my linux smokers (debian wheezy and jessie) and > freebsd 9.2 smoker, but not the freebsd 10.1 smoker. The latter has a > newer git installed (2.6.0), so maybe it fails for older git versions.
I think it's a bug in my code, probably caused by copy-pasting some code using Git::Repository (which has a 'command' method). Thanks for the report, I'll fix it in the next release. -- BooK
On 2016-11-14 10:12:04, BOOK wrote: Show quoted text
> On Sun Nov 13 01:50:04 2016, SREZIC wrote:
> > Some of my smokers show the following test failure: > > > > ... > > # Available backends: > > # - None > > # - Git > > # - Git::PurePerl > > # - Git::Repository > > # - Git::Sub > > # - Git::Wrapper > > error: short SHA1 577ecc is ambiguous. > > error: short SHA1 577ecc is ambiguous. > > error: short SHA1 577ecc is ambiguous. > > error: short SHA1 577ecc is ambiguous. > > # No tests run! > > > > # Failed test 'No tests run for subtest "Git::Wrapper & <empty
> > repository> "'
> > # at t/Util.pm line 211. > > git: 'command' ist kein Git-Kommando. Siehe 'git --help'. > > # Tests were run but no plan was declared and done_testing() was not > > seen. > > # Looks like your test exited with 255 just after 70. > > t/backends.t ............. > > Dubious, test returned 255 (wstat 65280, 0xff00) > > Failed 1/70 subtests > > (less 3 skipped subtests: 66 okay) > > ... > > > > > > This happens on my linux smokers (debian wheezy and jessie) and > > freebsd 9.2 smoker, but not the freebsd 10.1 smoker. The latter has a > > newer git installed (2.6.0), so maybe it fails for older git > > versions.
> > I think it's a bug in my code, probably caused by copy-pasting some > code using Git::Repository (which has a 'command' method). > > Thanks for the report, I'll fix it in the next release. > > -- BooK
It looks fixed now.