2.4.2 make tests fails on debian squeeze and wheezy

Bendtsen, Jon Jon.Bendtsen at laerdal.dk
Tue Jan 8 16:13:09 UTC 2013


On 08/01/2013, at 17.04, Mads Kiilerich <mads at kiilerich.com>
 wrote:

> On 01/08/2013 04:36 PM, Bendtsen, Jon wrote:
>> Hi
>> 
>> mercurial-2.4.2.tar.gz make tests fails on debian squeeze and wheezy
>> 
>> New virtual openvz machine under proxmox VE 2.2, was installed as debian squeeze, fully updated, python 2.6.
>> 
>> After make tests failed I diet-upgraded to wheezy, and remove the python 2.6 packages so it now has python 2.7
>> 
>> 
>> 
>> 
>> Fetched from the bottom of the output below
>> 
>> Skipped test-casecollision-merge.t: missing feature: case insensitive file system
>> Skipped test-casefolding.t: missing feature: case insensitive file system
>> 
>> nope, you are mistaken, it is a case SENSITIVE file system.
> 
> niksen, you are mistaken, it says that the case insensitive file system is missing because your file system is case sensitive. That is fine - it just means that it can't test the workarounds for case insensitive file systems.

ahh, I see.


>> root at dkhg:/usr/local/src/mercurial-2.4.2# make tests
>> cd tests && python run-tests.py
>> ......................................s.s..s.s......
>> --- /usr/local/src/mercurial-2.4.2/tests/test-clone.t
>> +++ /usr/local/src/mercurial-2.4.2/tests/test-clone.t.err
>> @@ -558,8 +558,8 @@
>>    $ hg init b
>>    $ cd b
>>    $ hg clone . ../a
>> -  abort: Permission denied: ../a
>> -  [255]
>> +  updating to branch default
>> +  0 files updated, 0 files merged, 0 files removed, 0 files unresolved
>>    $ cd ..
>>    $ chmod 700 a
>>    $ rm -r a b
>> @@ -609,10 +609,10 @@
>>    $ cd ..
>>    $ mkdir d
>>    $ hg clone c d 2> err
>> -  [255]
>> +  updating to branch default
>> +  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
>>    $ test -d d
>>    $ test -d d/.hg
>> -  [1]
>>    re-enable perm to allow deletion
> 
> 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.

I will try without root.


JonB




More information about the Mercurial mailing list