strace/tests/fanotify_mark.c
Dmitry V. Levin 18eeb96799 tests/fanotify_mark.c: use libtests
* tests/fanotify_mark.c: Use SKIP_MAIN_UNDEFINED.
2016-01-05 23:06:14 +00:00

19 lines
291 B
C

#include "tests.h"
#if defined HAVE_SYS_FANOTIFY_H && defined HAVE_FANOTIFY_MARK
# include <sys/fanotify.h>
int
main(void)
{
fanotify_mark(-1, FAN_MARK_ADD, FAN_MODIFY | FAN_ONDIR, -100, ".");
return 0;
}
#else
SKIP_MAIN_UNDEFINED("HAVE_SYS_FANOTIFY_H && HAVE_FANOTIFY_MARK")
#endif