sd-event: add test for the new sd_event_add_inotify() API
authorLennart Poettering <lennart@poettering.net>
Mon, 28 May 2018 15:25:14 +0000 (17:25 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 6 Jun 2018 08:53:56 +0000 (10:53 +0200)
commit41e09d62c5c98d4c5a88230a668622df16c0a78f
tree2647dd89b45fa06e3b32703d41fdb554c7b382ea
parent97ef5391697c34ee1c763fa9bddcd20a29ff3159
sd-event: add test for the new sd_event_add_inotify() API

This tests a couple of corner cases of the sd-event API including
changing priorities of existing event sources, as well as overflow
conditions of the inotify queue.
src/libsystemd/sd-event/test-event.c