diff options
Diffstat (limited to 'tests/test-select.c')
-rw-r--r-- | tests/test-select.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test-select.c b/tests/test-select.c index a75c9244..df9d8a12 100644 --- a/tests/test-select.c +++ b/tests/test-select.c @@ -1,5 +1,5 @@ /* Test of select() substitute. - Copyright (C) 2008-2024 Free Software Foundation, Inc. + Copyright (C) 2008-2025 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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); } |