[LTP] [PATCH] syscalls/fanotify09.c: Fix wrong group number
Amir Goldstein
amir73il@gmail.com
Tue Dec 11 07:33:18 CET 2018
On Mon, Dec 10, 2018 at 11:58 AM Xiao Yang <yangx.jy@cn.fujitsu.com> wrote:
>
> Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Acked-by: Amir Goldstein <amir73il@gmail.com>
> ---
> testcases/kernel/syscalls/fanotify/fanotify09.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/testcases/kernel/syscalls/fanotify/fanotify09.c b/testcases/kernel/syscalls/fanotify/fanotify09.c
> index 625634a..0f926c4 100644
> --- a/testcases/kernel/syscalls/fanotify/fanotify09.c
> +++ b/testcases/kernel/syscalls/fanotify/fanotify09.c
> @@ -216,7 +216,7 @@ static void test_fanotify(unsigned int n)
> ret = read(fd_notify[i], event_buf, FAN_EVENT_METADATA_LEN);
> if (ret > 0) {
> tst_res(TFAIL, "group %d got event", i);
> - verify_event(0, event, FAN_CLOSE_NOWRITE);
> + verify_event(i, event, FAN_CLOSE_NOWRITE);
> if (event->fd != FAN_NOFD)
> SAFE_CLOSE(event->fd);
> continue;
> --
> 1.8.3.1
>
>
>
>
> --
> Mailing list info: https://lists.linux.it/listinfo/ltp
More information about the ltp
mailing list