Thanks for the feedback!
I agree LTP has very comprehensive fanotify/inotify tests.
However, the motivation for adding basic tests to kernel selftests is:
- Quick and lightweight regression checking during kernel
development/boot (no external LTP install needed)
- Non-root basic cases (many LTP tests require root or complex setup)
Similar to how selftests/mm or selftests/net have basic syscall wrappers
even though LTP covers them deeply.
Do you think a different approach (LTP improvement instead)
would be better?
Thanks,
Jinseok