summaryrefslogtreecommitdiff
path: root/tests/test-mbrtoc32-w32.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-10-20 15:21:43 +0200
committerJörg Frings-Fürst <debian@jff.email>2024-10-20 15:21:43 +0200
commit4682deeb62247d34de87f8e777f99e2d337fd377 (patch)
tree5bd5b5605b5f3a4b3c8ea7468c34c23094afdef4 /tests/test-mbrtoc32-w32.c
parent00893e79fc62966067af1a106567db96bd170338 (diff)
New upstream version 1.3upstream/1.3upstream
Diffstat (limited to 'tests/test-mbrtoc32-w32.c')
-rw-r--r--tests/test-mbrtoc32-w32.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test-mbrtoc32-w32.c b/tests/test-mbrtoc32-w32.c
index 93196d48..07f4d3cc 100644
--- a/tests/test-mbrtoc32-w32.c
+++ b/tests/test-mbrtoc32-w32.c
@@ -732,10 +732,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