mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 18:55:40 +03:00
tests: check exit handler invocation
This commit is contained in:
parent
c983e776c4
commit
5657c75f91
@ -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_source_set_enabled(z, SD_EVENT_ONESHOT) >= 0);
|
||||||
|
|
||||||
assert_se(sd_event_loop(e) >= 0);
|
assert_se(sd_event_loop(e) >= 0);
|
||||||
|
assert_se(got_exit);
|
||||||
|
|
||||||
sd_event_source_unref(z);
|
sd_event_source_unref(z);
|
||||||
sd_event_source_unref(q);
|
sd_event_source_unref(q);
|
||||||
|
Loading…
Reference in New Issue
Block a user