summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc-André Lureau <marc-andre.lureau@nokia.com>2009-02-17 20:38:51 +0200
committerLennart Poettering <lennart@poettering.net>2009-02-19 04:54:05 +0100
commit25bbea67492cb7c6e9b8e78beb6553864c290a1a (patch)
tree4d24790cb37e87f7675c5055ac01fe76196bcf63
parent5ea7dac11c225aa26367974d7cf37e71a096ef27 (diff)
tests/thread-mainloop-test: check if threaded_mainloop_start() succeed
-rw-r--r--src/tests/thread-mainloop-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/thread-mainloop-test.c b/src/tests/thread-mainloop-test.c
index 263cd57d..3bcf4f16 100644
--- a/src/tests/thread-mainloop-test.c
+++ b/src/tests/thread-mainloop-test.c
@@ -47,7 +47,7 @@ int main(int argc, char *argv[]) {
pa_assert_se(m = pa_threaded_mainloop_new());
pa_assert_se(a = pa_threaded_mainloop_get_api(m));
- pa_threaded_mainloop_start(m);
+ pa_assert_se(pa_threaded_mainloop_start(m) >= 0);
pa_threaded_mainloop_lock(m);