mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
tests: Check pa_rtpoll_run() return value
CID 1138499
This commit is contained in:
parent
05d964cf81
commit
a5dae93d9f
1 changed files with 2 additions and 2 deletions
|
|
@ -60,7 +60,7 @@ START_TEST (rtpoll_test) {
|
|||
|
||||
pa_rtpoll_set_timer_relative(p, 10000000); /* 10 s */
|
||||
|
||||
pa_rtpoll_run(p);
|
||||
fail_unless(pa_rtpoll_run(p) >= 0);
|
||||
|
||||
pa_rtpoll_item_free(i);
|
||||
|
||||
|
|
@ -72,7 +72,7 @@ START_TEST (rtpoll_test) {
|
|||
pollfd->fd = 0;
|
||||
pollfd->events = POLLIN;
|
||||
|
||||
pa_rtpoll_run(p);
|
||||
fail_unless(pa_rtpoll_run(p) >= 0);
|
||||
|
||||
pa_rtpoll_item_free(i);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue