summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-event/test-event.c
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2015-11-22 08:23:59 +0000
committerEvgeny Vereshchagin <evvers@ya.ru>2015-11-22 08:23:59 +0000
commit5657c75f91ae7c2a9b130d8bf256ba6fda07975f (patch)
treeff91d186f210a4bae87d7b706b9edb419a30bf17 /src/libsystemd/sd-event/test-event.c
parentc983e776c4e7e2ea6e1990123d215e639deb353b (diff)
tests: check exit handler invocation
Diffstat (limited to 'src/libsystemd/sd-event/test-event.c')
-rw-r--r--src/libsystemd/sd-event/test-event.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd/sd-event/test-event.c b/src/libsystemd/sd-event/test-event.c
index c1a3b49483..e09fa915eb 100644
--- a/src/libsystemd/sd-event/test-event.c
+++ b/src/libsystemd/sd-event/test-event.c
@@ -234,6 +234,7 @@ static void test_basic(void) {
assert_se(sd_event_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
assert_se(sd_event_loop(e) >= 0);
+ assert_se(got_exit);
sd_event_source_unref(z);
sd_event_source_unref(q);