diff options
Diffstat (limited to 'tests/test-c32rtomb-w32.c')
| -rw-r--r-- | tests/test-c32rtomb-w32.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test-c32rtomb-w32.c b/tests/test-c32rtomb-w32.c index 3e089d11..9ee86301 100644 --- a/tests/test-c32rtomb-w32.c +++ b/tests/test-c32rtomb-w32.c @@ -1,5 +1,5 @@ /* Test of conversion of wide character to multibyte character. - 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 @@ -331,10 +331,12 @@ main (int argc, char *argv[]) if (result == 77) { + if (test_exit_status != EXIT_SUCCESS) + return test_exit_status; fprintf (stderr, "Skipping test: found no locale with codepage %d\n", codepage); } - return result; + return (result ? result : test_exit_status); } #else |
