projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c983e77
)
tests: check exit handler invocation
author
Evgeny Vereshchagin
<evvers@ya.ru>
Sun, 22 Nov 2015 08:23:59 +0000
(08:23 +0000)
committer
Evgeny Vereshchagin
<evvers@ya.ru>
Sun, 22 Nov 2015 08:23:59 +0000
(08:23 +0000)
src/libsystemd/sd-event/test-event.c
patch
|
blob
|
history
diff --git
a/src/libsystemd/sd-event/test-event.c
b/src/libsystemd/sd-event/test-event.c
index
c1a3b49
..
e09fa91
100644
(file)
--- 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);