projects
/
platform
/
core
/
system
/
kdbus-bus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78b0077
)
test-sync: use ASSERT_EXIT() in child process
author
Djalal Harouni
<tixxdz@opendz.org>
Thu, 25 Dec 2014 15:05:00 +0000
(16:05 +0100)
committer
Djalal Harouni
<tixxdz@opendz.org>
Thu, 25 Dec 2014 15:18:24 +0000
(16:18 +0100)
Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
test/test-sync.c
patch
|
blob
|
history
diff --git
a/test/test-sync.c
b/test/test-sync.c
index 79120e4090e1b00439d4839287e22ea2490a8772..fd7b006f31e65b4cd4a7176d078ba1f4aa340d88 100644
(file)
--- a/
test/test-sync.c
+++ b/
test/test-sync.c
@@
-151,8
+151,8
@@
static int close_epipe_sync(const char *bus)
kdbus_conn_free(conn_dst);
ret = kdbus_msg_recv_poll(conn_src, 100, &msg, NULL);
- ASSERT_
RETURN
(ret == 0 && msg->cookie == cookie);
- ASSERT_
RETURN
(msg->src_id == dst_id);
+ ASSERT_
EXIT
(ret == 0 && msg->cookie == cookie);
+ ASSERT_
EXIT
(msg->src_id == dst_id);
cookie++;
ret = kdbus_msg_send_sync(conn_src, NULL, cookie,