diff options
Diffstat (limited to 'tests/test-pselect.c')
-rw-r--r-- | tests/test-pselect.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-pselect.c b/tests/test-pselect.c index 2f239ddf..82b23362 100644 --- a/tests/test-pselect.c +++ b/tests/test-pselect.c @@ -45,5 +45,6 @@ my_select (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, int main (void) { - return test_function (my_select); + int result = test_function (my_select); + return (result ? result : test_exit_status); } |