Re: 2.9.2 test failures on macOS
- From
Lars Schneider <larsxschneider@gmail.com>
- Date
- Aug 3, 2016, 10:18 UTC
- Message-ID
- <88BA92D6-305F-4B23-ABD2-55A6145F22D9@gmail.com>
- In-Reply-To
- <C4207508-629B-41DF-8E89-CDD1989BCF2E@macports.org>
Show 42 quoted lines
> On 03 Aug 2016, at 09:35, Jeremy Huddleston Sequoia <jeremyhu@macports.org> 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
> What OS version do you use? Can you run `sw_vers` in your terminal and share the result?
Thanks, Lars