diff options
Diffstat (limited to 'main/apr-util/musl-fix-testsuite.patch')
-rw-r--r-- | main/apr-util/musl-fix-testsuite.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/main/apr-util/musl-fix-testsuite.patch b/main/apr-util/musl-fix-testsuite.patch new file mode 100644 index 0000000000..acf3c3126b --- /dev/null +++ b/main/apr-util/musl-fix-testsuite.patch @@ -0,0 +1,19 @@ +diff --git a/test/testxlate.c b/test/testxlate.c +index 6981eff..de00fa4 100644 +--- a/test/testxlate.c ++++ b/test/testxlate.c +@@ -116,8 +116,12 @@ static void test_transformation(abts_case *tc, void *data) + } + + /* 4. Transformation using charset aliases */ +- one_test(tc, "UTF-8", "UTF-7", test_utf8, test_utf7, p); +- one_test(tc, "UTF-7", "UTF-8", test_utf7, test_utf8, p); ++ if (is_transform_supported(tc, "UTF-8", "UTF-7", p)) { ++ one_test(tc, "UTF-8", "UTF-7", test_utf8, test_utf7, p); ++ } ++ if (is_transform_supported(tc, "UTF-7", "UTF-8", p)) { ++ one_test(tc, "UTF-7", "UTF-8", test_utf7, test_utf8, p); ++ } + } + + #endif /* APR_HAS_XLATE */ |