git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
Cc: git@vger.kernel.org
Subject: Re: 2.9.2 test failures on macOS
Date: Wed, 3 Aug 2016 16:35:10 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.20.1608031632110.107993@virtualbox> (raw)
In-Reply-To: <C4207508-629B-41DF-8E89-CDD1989BCF2E@macports.org>

Hi Jeremy,

On Wed, 3 Aug 2016, Jeremy Huddleston Sequoia wrote:

> I have two test failures to report in git 2.9.2 on macOS:
> 
> 
> t3210-pack-refs.sh has not changed between 2.8.4 and 2.9.2.  This test passed fine with 2.8.4, but it now fails with 2.9.2 at:
> 
> not ok 26 - retry acquiring packed-refs.lock
> #	
> #		LOCK=.git/packed-refs.lock &&
> #		>"$LOCK" &&
> #		test_when_finished "wait; rm -f $LOCK" &&
> #		{
> #			( sleep 1 ; rm -f $LOCK ) &
> #		} &&
> #		git -c core.packedrefstimeout=3000 pack-refs --all --prune
> #	
> 
> ===
> 
> t3700-add.sh recently added the 'git add --chmod=-x stages an executable file with -x' test.  This test passes when run as a normal user but fails when run as root:
> 
> $ ./t3700-add.sh
> ...
> # passed all 40 test(s)
> 1..40
> 
> $ sudo ./t3700-add.sh
> ...
> not ok 39 - git add --chmod=-x stages an executable file with -x
> #	
> #		echo foo >xfoo1 &&
> #		chmod 755 xfoo1 &&
> #		git add --chmod=-x xfoo1 &&
> #		case "$(git ls-files --stage xfoo1)" in
> #		100644" "*xfoo1) echo pass;;
> #		*) echo fail; git ls-files --stage xfoo1; (exit 1);;
> #		esac
> #	
> # failed 1 among 40 test(s)
> 1..40

I tried to write up all I know about debugging test failures here:

https://github.com/git-for-windows/git/wiki/Running-Git's-regression-tests#running-individual-tests

Could you give it a try and diagnose the breakage further? (The output you
provided is unfortunately not enough to determine what went wrong.)

Ciao,
Johannes

  parent reply	other threads:[~2016-08-03 14:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-03  7:35 2.9.2 test failures on macOS Jeremy Huddleston Sequoia
2016-08-03 10:18 ` Lars Schneider
2016-08-03 14:35 ` Johannes Schindelin [this message]
2016-08-03 16:08   ` Jeremy Huddleston Sequoia
2016-08-03 15:58 ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.20.1608031632110.107993@virtualbox \
    --to=johannes.schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=jeremyhu@macports.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).