[LTP] [PATCH 0/6 v2] fanotify: Make feature tests operate against tested path

Jan Kara jack@suse.cz
Thu Nov 30 10:37:03 CET 2023


Hello,

some of the fanotify features are not available across all filesystems. Thus
depending on which path is used for placing fanotify mark the feature may or
may not be available. This leads to test failures when some feature is
supported in tmpdir but not on the tested filesystem. Convert all of the
fanotify feature tests to be performed on the path actually being used for
testing.

Changes since v1:
* Added Amir's reviewed by
* Fixed up bug in patch 1 leading to incorrect feature availability detection
* Added patch to print more details in error messages
* Changed FAN_CLASS_CONTENT to FAN_CLASS_NOTIF when testing whether a mark
  type is supported.


								Honza
Previous versions:
Link: http://lore.kernel.org/r/20231129114617.12660-1-jack@suse.cz # v1


More information about the ltp mailing list