On 2011-05-26, Andreas Schwab <schwab(a)redhat.com> wrote:
Petr Pisar <ppisar(a)redhat.com> writes:
> Reviewer of my package found the package does pass tests in Koji
> (dist-f16). I found the reason:
>
> A test executes non-existent command and expects ENOENT.
That's a bug in the test. EACCES is a valid error if a PATH element is
inaccessible.
You are right. Returning EACCES if command does not exist in any
accesible directory and other directories have insufficient permissions
makes sense.
-- Petr