summaryrefslogtreecommitdiff
path: root/tests/test-c32width.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-c32width.c')
-rw-r--r--tests/test-c32width.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-c32width.c b/tests/test-c32width.c
index 4ebc1afa..0fcc5a2c 100644
--- a/tests/test-c32width.c
+++ b/tests/test-c32width.c
@@ -94,11 +94,11 @@ main ()
ASSERT (c32width (0x3000) == 2);
ASSERT (c32width (0xB250) == 2);
ASSERT (c32width (0xFF1A) == 2);
- #if !(defined __FreeBSD__ && __FreeBSD__ < 13 && !defined __GLIBC__)
+ #if !((defined __FreeBSD__ && __FreeBSD__ < 13 && !defined __GLIBC__) || defined __sun)
ASSERT (c32width (0x20369) == 2);
ASSERT (c32width (0x2F876) == 2);
#endif
}
- return 0;
+ return test_exit_status;
}