Solaris iconv may perform an implementation-defined conversion for
non-identical characters instead of failing. In the tested conversions it
substitutes question marks and reports success, so these negative tests do
not match Solaris behavior.
DEFINE_TEST(test_archive_string_conversion_fail_c)
{
struct archive *a;
+#if defined(__sun)
+ skipping("Solaris iconv substitutes unrepresentable UTF-8 characters");
+ return;
+#endif
/* Test the C locale by not calling setlocale. */
{
struct archive *a;
struct archive_string_conv *sconv;
+#if defined(__sun)
+ skipping("Solaris iconv substitutes unrepresentable UTF-8 characters");
+ return;
+#endif
/* Test a Latin-1 locale. */
if (