Le 03/04/2013 19:22, Bruce Dubbs a écrit :
> Pierre Labastie wrote:
>> Le 03/04/2013 08:03, Bruce Dubbs a écrit :
>>> Bruce Dubbs wrote:
>>> To make that pass, we need to do: sed -i -r
>>> 's/(pmap_initname)\\\$/\1/' ./testsuite/pmap.test/pmap.exp
>> Actually, a similar sed was in the previous version of the page. It got
>> suppressed when updating to the new version of procps-ng.
>>
>> I would say it is only needed for older kernels.
> My host is 3.8.3-LFS-7.3 and that needs it.  I thought it was kernel
> earlier, but now I think it's terminal releated (is there a tty
> associated with the test process?).  The above should fix in all cases.
>
>     -- Bruce
>
Using the debugging tools I talked about in my previous message, I have 
found that the failure comes from running the test as root. The test 
expects that the user cannot read the map of init (process #1), so that 
the output ends early and matches the regexp.
When running as root, we have access to the map, so the output is much 
longer and does not match the regexp...
We'd better run the test as normal user, but we do not have su yet...
Pierre
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to