git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* sparse-checkout test failures [powerpc-darwin8]
@ 2012-04-04 20:20 David Fang
  2012-04-04 21:34 ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: David Fang @ 2012-04-04 20:20 UTC (permalink / raw)
  To: git

Hi,
 	With git 1.7.9.4, I'm seeing test failures with
t1011-read-tree-sparse-checkout.sh.

not ok - 16 read-tree adds to worktree, dirty case
#
#               echo init.t >.git/info/sparse-checkout &&
#               git checkout -f removed &&
#               mkdir sub &&
#               echo dirty >sub/added &&
#               read_tree_u_must_succeed -u -m HEAD^ &&
#               grep -q dirty sub/added
#
not ok - 17 index removal and worktree narrowing at the same time
#
#               >empty &&
#               echo init.t >.git/info/sparse-checkout &&
#               echo sub/added >>.git/info/sparse-checkout &&
#               git checkout -f top &&
#               echo init.t >.git/info/sparse-checkout &&
#               git checkout removed &&
#               git ls-files sub/added >result &&
#               test ! -f sub/added &&
#               test_cmp empty result
#
not ok - 18 read-tree --reset removes outside worktree
#
#               >empty &&
#               echo init.t >.git/info/sparse-checkout &&
#               git checkout -f top &&
#               git reset --hard removed &&
#               git ls-files sub/added >result &&
#               test_cmp empty result
#
not ok - 19 print errors when failed to update worktree
#
#               echo sub >.git/info/sparse-checkout &&
#               git checkout -f init &&
#               mkdir sub &&
#               touch sub/added sub/addedtoo &&
#               test_must_fail git checkout top 2>actual &&
#               cat >expected <<\EOF &&
#       error: The following untracked working tree files would be 
overwritten b
y checkout:
#               sub/added
#               sub/addedtoo
#       Please move or remove them before you can switch branches.
#       Aborting
#       EOF
#               test_cmp expected actual
#
# failed 5 among 19 test(s)
1..19
make[2]: *** [t1011-read-tree-sparse-checkout.sh] Error 1


not ok - 16 not just commits
#
#               echo replaced >file &&
#               git add file &&
#               REPLACED=$(git rev-parse :file) &&
#               mv file file.replaced &&
#
#               echo original >file &&
#               git add file &&
#               ORIGINAL=$(git rev-parse :file) &&
#               git update-ref refs/replace/$ORIGINAL $REPLACED &&
#               mv file file.original &&
#
#               git checkout file &&
#               test_cmp file.replaced file
#
# failed 1 among 16 test(s)
1..16
make[2]: *** [t6050-replace.sh] Error 1


Everything else that's "not ok" is a known breakage.

[from http://paste.lisp.org/display/128628]

Any idea what's going wrong?
Anyone else seeing these failures?

Fang


-- 
David Fang
http://www.csl.cornell.edu/~fang/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: sparse-checkout test failures [powerpc-darwin8]
  2012-04-04 20:20 sparse-checkout test failures [powerpc-darwin8] David Fang
@ 2012-04-04 21:34 ` Junio C Hamano
  2012-04-04 21:41   ` David Fang
  0 siblings, 1 reply; 4+ messages in thread
From: Junio C Hamano @ 2012-04-04 21:34 UTC (permalink / raw)
  To: David Fang; +Cc: git

David Fang <fang@csl.cornell.edu> writes:

> 	With git 1.7.9.4, I'm seeing test failures with
> t1011-read-tree-sparse-checkout.sh.

Hrm.  Do you mean 1.7.9 worked and 1.7.9.4 doesn't, or you just happened
to try 1.7.9.4 and do not know if this is a regression?

I do not have any Darwin or PowerPC boxes, but the answer to the above may
help others who do to help diagnosing the issue further.

Thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: sparse-checkout test failures [powerpc-darwin8]
  2012-04-04 21:34 ` Junio C Hamano
@ 2012-04-04 21:41   ` David Fang
  2012-04-05  5:35     ` Nguyen Thai Ngoc Duy
  0 siblings, 1 reply; 4+ messages in thread
From: David Fang @ 2012-04-04 21:41 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

> David Fang <fang@csl.cornell.edu> writes:
>> 	With git 1.7.9.4, I'm seeing test failures with
>> t1011-read-tree-sparse-checkout.sh.
>
> Hrm.  Do you mean 1.7.9 worked and 1.7.9.4 doesn't, or you just happened
> to try 1.7.9.4 and do not know if this is a regression?
> I do not have any Darwin or PowerPC boxes, but the answer to the above may
> help others who do to help diagnosing the issue further.

Unfortunately, I didn't try any of the earlier 1.7.9.x releases, the 
previous one I tested was 1.7.8.4, which passed all tests (except for 
known breakages, and a few other disabled tests).

-- 
David Fang
http://www.csl.cornell.edu/~fang/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: sparse-checkout test failures [powerpc-darwin8]
  2012-04-04 21:41   ` David Fang
@ 2012-04-05  5:35     ` Nguyen Thai Ngoc Duy
  0 siblings, 0 replies; 4+ messages in thread
From: Nguyen Thai Ngoc Duy @ 2012-04-05  5:35 UTC (permalink / raw)
  To: David Fang; +Cc: Junio C Hamano, git

On Thu, Apr 5, 2012 at 4:41 AM, David Fang <fang@csl.cornell.edu> wrote:
>> David Fang <fang@csl.cornell.edu> writes:
>>>
>>>        With git 1.7.9.4, I'm seeing test failures with
>>> t1011-read-tree-sparse-checkout.sh.
>>
>>
>> Hrm.  Do you mean 1.7.9 worked and 1.7.9.4 doesn't, or you just happened
>> to try 1.7.9.4 and do not know if this is a regression?
>> I do not have any Darwin or PowerPC boxes, but the answer to the above may
>> help others who do to help diagnosing the issue further.
>
>
> Unfortunately, I didn't try any of the earlier 1.7.9.x releases, the
> previous one I tested was 1.7.8.4, which passed all tests (except for known
> breakages, and a few other disabled tests).

Please try to bisect if you have time, or at least v1.7.9, and run
those two tests with "-v".
-- 
Duy

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-04-05  5:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-04 20:20 sparse-checkout test failures [powerpc-darwin8] David Fang
2012-04-04 21:34 ` Junio C Hamano
2012-04-04 21:41   ` David Fang
2012-04-05  5:35     ` Nguyen Thai Ngoc Duy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).