Re: Git 2.8.1 fails test 32 of t7300-clean.sh, breaks profile build
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 3, 2016, 18:05 UTC
- Message-ID
- <CAPc5daX4noqHaOZCrZ78s0ytFBkeU7znXs0QY1LXEw8w3RnQ1A@mail.gmail.com>
- In-Reply-To
- <CAGZ79kav27h+_eswTd3hRWjYhH5aApVcERa1bSxKD8p2R50HTw@mail.gmail.com>
On Tue, May 3, 2016 at 11:02 AM, Stefan Beller <sbeller@google.com> wrote:
> > So I wonder if is_nonbare_repository_dir() is the culprit here. > (We do a chmod 0 on the .git before the `git clean` in the test to confuse Git)
Ask if the test is run as root; if so, then mark the test to require SANITY prerequisite.