diff options
Diffstat (limited to 'tests/test-open.c')
-rw-r--r-- | tests/test-open.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-open.c b/tests/test-open.c index 52e72be9..b82b0ba2 100644 --- a/tests/test-open.c +++ b/tests/test-open.c @@ -36,5 +36,6 @@ SIGNATURE_CHECK (open, int, (char const *, int, ...)); int main (void) { - return test_open (open, true); + int result = test_open (open, true); + return (result ? result : test_exit_status); } |