[LTP] [PATCH 1/5] fanotify13: Verify that we did not get an extra event
Petr Vorel
pvorel@suse.cz
Fri Jan 24 13:45:49 CET 2025
Hi Amir, all,
...
> > > Any hint what could be wrong?
> That would be the simplest fix:
> --- a/testcases/kernel/syscalls/fanotify/fanotify13.c
> +++ b/testcases/kernel/syscalls/fanotify/fanotify13.c
> @@ -48,7 +48,7 @@
> #define FILE_ONE "file_one"
> #define FILE_TWO "file_two"
> #define MOUNT_PATH "tstmnt"
> -#define EVENT_MAX ARRAY_SIZE(objects)
> +#define EVENT_MAX (ARRAY_SIZE(objects)+1)
Indeed, that fixes the problem, thanks!
Kind regards,
Petr
> Thanks,
> Amir.
More information about the ltp
mailing list