execve()ing non-existent command returns EPERM instead of ENOENT in Koji

Andreas Schwab schwab at redhat.com
Thu May 26 07:29:40 UTC 2011


Petr Pisar <ppisar at 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.

Andreas.

-- 
Andreas Schwab, schwab at redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."


More information about the devel mailing list