diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-04-25 16:41:24 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-04-25 16:41:24 +0900 |
commit | 5c2b4ca06ee2803bd5329cb0ccfc12cfaa40afe7 (patch) | |
tree | 6fb190418d32ed2e68589b8ef283535d4b67a67d | |
parent | Merge branch 'jc/gettext-test-fix' (diff) | |
parent | t9822: skip tests if file names cannot be ISO-8859-1 encoded (diff) | |
download | tgif-5c2b4ca06ee2803bd5329cb0ccfc12cfaa40afe7.tar.xz |
Merge branch 'js/iso8895-test-on-apfs'
Test fix on APFS that is incapable of store paths in Latin-1.
* js/iso8895-test-on-apfs:
t9822: skip tests if file names cannot be ISO-8859-1 encoded
-rwxr-xr-x | t/t9822-git-p4-path-encoding.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/t/t9822-git-p4-path-encoding.sh b/t/t9822-git-p4-path-encoding.sh index 1bf7635016..572d395498 100755 --- a/t/t9822-git-p4-path-encoding.sh +++ b/t/t9822-git-p4-path-encoding.sh @@ -7,6 +7,13 @@ test_description='Clone repositories with non ASCII paths' UTF8_ESCAPED="a-\303\244_o-\303\266_u-\303\274.txt" ISO8859_ESCAPED="a-\344_o-\366_u-\374.txt" +ISO8859="$(printf "$ISO8859_ESCAPED")" && +echo content123 >"$ISO8859" && +rm "$ISO8859" || { + skip_all="fs does not accept ISO-8859-1 filenames" + test_done +} + test_expect_success 'start p4d' ' start_p4d ' |