You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Update NewListener API
- NewListener flags are set based on kernel version
- Update README
- Run Bug tests only when `sudo go test -v -bug` is passed
@@ -77,3 +77,19 @@ Certain flag combinations / actions cause issues with event reporting.
77
77
- Using `fanotify.FileOpened` with any of the actions containing `OrDirectory` (`unix.FAN_ONDIR`) causes an event flood for the directory and then stopping raising any events at all.
78
78
79
79
-`fanotifyFileOrDirectoryOpened` with any of the other actions causes an event flood for the directory and then stopping raising any events at all.
80
+
81
+
## Tests
82
+
83
+
Running tests require `CAP_SYS_ADM` privilege. To run the tests make sure to add `go` to the `sudo` PATH.
84
+
85
+
The command runs all the tests except the ones that test the flag bugs mentioned in the "Known Issues" section above -
0 commit comments