Re: t5539 fails on ubuntu for v2.0.0-rc2
Jeff King <peff@peff.net> writes:
Show 16 quoted lines
> Does running the tests as a non-root user fix it? If so, I think we have
> a few options in git:
>
> 1. Add a User directive to our httpd.conf. I doubt this is a good
> idea to do unconditionally, as a non-root apache would probably be
> unhappy with it.
>
> 2. Add a User directive when we detect that the tests are running as
> root. This might work, but I'm a bit iffy, as we do not know the
> appropriate username for the system (e.g., "nobody" versus
> "www-data" versus something else).
>
> 3. Just disable the http tests when run as root.
>
> I think I'd favor 3. But I'd like to be sure that being root is the
> problem.
I agree with both the conclusion and the precondition.