[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: coreutils-6.10 tests/misc/pwd-long fails when / is not readable
From: |
Jim Meyering |
Subject: |
Re: coreutils-6.10 tests/misc/pwd-long fails when / is not readable |
Date: |
Sun, 24 Feb 2008 08:41:41 +0100 |
"Theodoros V. Kalamatianos" <address@hidden> wrote:
> On Sat, 23 Feb 2008, Jim Meyering wrote:
>
>> Would you please confirm that this patch is sufficient?
>>
>> Subject: [PATCH] Avoid test failures when root (/) is not readable.
>>
>> * tests/test-lib.sh (require_readable_root_): New function.
>> * tests/misc/pwd-long: Skip this test when / is unreadable.
>> * tests/du/slash: Likewise.
>> This is required at least for Mandrake/Mandriva in "secure" mode.
>> Reported by Theodoros V. Kalamatianos in
>> http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/12800
>
> After a minor modification to apply to coreutils-6.10, I run the tests
> and everything was fine. Got the SKIP messages too - which my own
> patches (adding `[[ -r / ]] || exit 0' to both tests) did not show...
Good. Thanks.
I've pushed the fix.