Mock inotify & test the c-d-c-d-ds-i-ds-i sequence

c = IN_CREATE|IS_DIR
d = IN_DELETE|IS_DIR
ds = IN_DELETE_SELF
i = IN_IGNORE

These are inotify events, not watchdog events

The new test is written in a new module because it required a
different teardown function to stop the emitter before undoing
the mock
1 file changed