selftests: add tests for mount notification
authorMiklos Szeredi <mszeredi@redhat.com>
Fri, 7 Mar 2025 20:40:45 +0000 (21:40 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 11 Mar 2025 11:04:02 +0000 (12:04 +0100)
commite1c24b52adb22136fa6f4025daf841384a6d0d1e
treeb54c3f4c288efed1ccfef332b0a567773539bbf3
parent7d90fb525319d9761a8560bbf8287bcc9789bfec
selftests: add tests for mount notification

Provide coverage for all mnt_notify_add() instances.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Link: https://lore.kernel.org/r/20250307204046.322691-1-mszeredi@redhat.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
tools/testing/selftests/Makefile
tools/testing/selftests/filesystems/mount-notify/.gitignore [new file with mode: 0644]
tools/testing/selftests/filesystems/mount-notify/Makefile [new file with mode: 0644]
tools/testing/selftests/filesystems/mount-notify/mount-notify_test.c [new file with mode: 0644]
tools/testing/selftests/filesystems/statmount/statmount.h