[LTP] [PATCH 1/2] syscalls/fanotify14: Encode the expected errno in test case

Amir Goldstein amir73il@gmail.com
Wed Jul 20 12:53:23 CEST 2022


On Tue, Jul 19, 2022 at 11:58 PM Matthew Bobrowski <repnop@google.com> wrote:
>
> On Tue, Jul 19, 2022 at 11:58:52AM +0200, Amir Goldstein wrote:
> > So we can add test cases for errors other than EINVAL.
>
> Just one optional nit. We can probably remove the comments which are
> directly above the existing `if (errno == EINVAL)` checks as they're
> specific to one expected errno value, but this is no longer the case
> with ENOTDIR now in some fanotify_init/fanotify_mark cases.

Good point.

>
> Feel free to add RVB tags.

Thanks,
Amir.


More information about the ltp mailing list