Merge pull request #3078 from vlmarek/solaris-skip-string-conversion-fail-tests
Skip tests where Solaris iconv substitutes invalid chars
(cherry picked from commit 43a5035657)
This commit is contained in:
1 parent
1400d2d19d
commit
bb6abdbefb
1 file changed
+8
@@ -966,6 +966,10 @@ test_archive_string_conversion_fail_utf8_mbs(struct archive *a,
|
||||
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. */
|
||||
|
||||
@@ -983,6 +987,10 @@ DEFINE_TEST(test_archive_string_conversion_fail_latin1)
|
||||
{
|
||||
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 (
|
||||
|
||||
Reference in new issue
Block a user