syscalls/fanotify09.c: Fix wrong group number
PATCH 1/1 syscalls/fanotify09.c: Fix wrong group number
Signed-off-by Xiao Yang <[email protected]>
--- testcases/kernel/syscalls/fanotify/fanotify09.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/kernel/syscalls/fanotify/fanotify09.c +1 -1
@@ -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 ;
Signature · 1 line
1.8.3.1
PATCH 1/1 syscalls/fanotify09.c: Fix wrong group number
Quoted 2 lines · Xiao Yang
Signed-off-by Xiao Yang <[email protected]>
Acked-by Amir Goldstein <[email protected]>
Quoted 25 lines
--- testcases/kernel/syscalls/fanotify/fanotify09.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)testcases/kernel/syscalls/fanotify/fanotify09.c +1
-2@@ -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
PATCH 1/1 syscalls/fanotify09.c: Fix wrong group number
Hi Xiao, Amir,
Quoted 4 lines · Xiao Yang
Quoted 2 lines
Signed-off-by Xiao Yang <[email protected]>Acked-by Amir Goldstein <[email protected]>
Thanks, pushed.
Kind regards,
Petr