Skip Menu |

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

Report information
The Basics
Id: 70585
Status: resolved
Priority: 0/
Queue: Git-Repository

People
Owner: Nobody in particular
Requestors: thecrux [...] gmail.com
Cc:
AdminCc:

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



Subject: test failure with git 1.7.6.1
Test failure with new version of git - 1.7.6.1 It seems that `git submodule add URL path` now always init submodule. http://thread.gmane.org/gmane.comp.version-control.git/176268/focus=176320 ... # Failed test 'git submodule status' # at t/21-submodule.t line 28. # got: ' d4a22d853a6c63e5b67c0875b2bb789ae0fecce8 sub (heads/master)' # expected: '-d4a22d853a6c63e5b67c0875b2bb789ae0fecce8 sub' # Looks like you failed 1 test of 1. t/21-submodule.t ... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests ... Test Summary Report ------------------- t/21-submodule.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=16, Tests=533, 3 wallclock secs ( 0.12 usr 0.02 sys + 1.50 cusr 0.38 csys = 2.02 CPU) Result: FAIL Failed 1/16 test programs. 1/533 subtests failed.
On Mon Aug 29 13:39:02 2011, thecrux@gmail.com wrote: Show quoted text
> Test failure with new version of git - 1.7.6.1 > It seems that `git submodule add URL path` now always init submodule. > > http://thread.gmane.org/gmane.comp.version-control.git/176268/focus=176320 > > ... > # Failed test 'git submodule status' > # at t/21-submodule.t line 28. > # got: ' d4a22d853a6c63e5b67c0875b2bb789ae0fecce8 sub > (heads/master)' > # expected: '-d4a22d853a6c63e5b67c0875b2bb789ae0fecce8 sub' > # Looks like you failed 1 test of 1. > t/21-submodule.t ... > Dubious, test returned 1 (wstat 256, 0x100)
After checking all versions of git since the introduction of git submodule, it seems there are four different outputs for those commands used in the test script. Test fixed in version 1.22. Thanks for the report.