summaryrefslogtreecommitdiff
path: root/tests/test-select.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-select.c')
-rw-r--r--tests/test-select.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-select.c b/tests/test-select.c
index a75c9244..56f8b426 100644
--- a/tests/test-select.c
+++ b/tests/test-select.c
@@ -31,5 +31,6 @@ SIGNATURE_CHECK (select, int, (int, fd_set *, fd_set *, fd_set *,
int
main (void)
{
- return test_function (select);
+ int result = test_function (select);
+ return (result ? result : test_exit_status);
}