From: Junio C Hamano Date: Thu, 25 Apr 2019 07:41:24 +0000 (+0900) Subject: Merge branch 'js/iso8895-test-on-apfs' X-Git-Tag: v2.22.0-rc0~40 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/5c2b4ca06ee2803bd5329cb0ccfc12cfaa40afe7?ds=inline;hp=-c 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 --- 5c2b4ca06ee2803bd5329cb0ccfc12cfaa40afe7 diff --combined t/t9822-git-p4-path-encoding.sh index 1bf7635016,de0b46581d..572d395498 --- a/t/t9822-git-p4-path-encoding.sh +++ b/t/t9822-git-p4-path-encoding.sh @@@ -7,6 -7,13 +7,13 @@@ test_description='Clone repositories wi 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 ' @@@ -67,4 -74,8 +74,4 @@@ test_expect_success 'Delete iso8859-1 e ) ' -test_expect_success 'kill p4d' ' - kill_p4d -' - test_done