2.4.2 make tests fails on debian squeeze and wheezy
Mads Kiilerich
mads at kiilerich.com
Tue Jan 8 16:27:44 UTC 2013
On 01/08/2013 05:13 PM, Bendtsen, Jon wrote:
> On 08/01/2013, at 17.04, Mads Kiilerich <mads at kiilerich.com>
> wrote:
>> You are running the tests as root, and the tests that validates that
>> Mercurial works as expected even with insufficient permissions will
>> thus fail to fail. I guess we could make the test suite handle that
>> somehow, but running the test as root is such a bad idea that nobody
>> cares.
> But I needs to run it as root to install it.
That would only be needed for the 'install' step, and it is not a good
idea to install files in /usr anyway. It might be better to set PREFIX
or use 'make install-home'.
I prefer to use 'make local' and symlink 'hg' to somewhere in $PATH.
(And the test suite is mainly intended for developers. There is rarely a
good reason to run it when installing a released version on a 'normal'
platform.)
/Mads
More information about the Mercurial
mailing list