Subject: Re: t9902 fails (Was: [PATCH] attr: fix off-by-one directory component length calculation)

From: "Jean-Noël AVILA" <[email-masked]>
Date: Thu, 17 Jan 2013 23:47:49 +0100

Le mercredi 16 janvier 2013 07:15:51, Torsten Bögershausen a écrit :
> On 01/16/2013 12:24 AM, Jeff King wrote:
> > On Tue, Jan 15, 2013 at 12:49:05PM -0800, Junio C Hamano wrote:
> >> "Jean-Noël AVILA"<[email-masked]>  writes:
> >>> Btw, the test 10 to t9902 is failing on my Debian testing. Is it a
> >>> known issue?
> >> 
> >> Which branch?
> > 
> > t9902.10 is overly sensitive to extra git commands in your PATH, as well
> > as cruft in your build dir (especially if you have been building 'pu',
> > which has git-check-ignore). Try "make clean&&  make test".
> > 
> > -Peff
> 
> This may help, or it may not.
> 
> If there are other binaries like
> "git-check-email" or "git-check-ignore" in the PATH
> .....
> 
> When you switch to a branch generating a file like
> git-check-ignore then "make clean" will know about it
> and will remove it.
> If you switch to master, then "make clean" will not remove it.
> 
> What does "git status" say?
> 
> We had a discussion about this some weeks ago, but never concluded.
> 
> How about this:
> http://comments.gmane.org/gmane.comp.version-control.git/211907

OK. I have installed practically everything related to git from the package 
manager and there is a git-checkout-branches utility available.

That result defeats the purpose of the test. This needs a tighter environment 
to work whatever the configuration of the user may be.