From: Johannes Schindelin Date: Sun, 14 Apr 2019 21:19:29 +0000 (-0700) Subject: t9822: skip tests if file names cannot be ISO-8859-1 encoded X-Git-Tag: v2.22.0-rc0~40^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/38891496197e27f537cabf3a43e2b73330da1837?ds=inline;hp=--cc t9822: skip tests if file names cannot be ISO-8859-1 encoded Most notably, it seems that macOS' APFS does not allow that. Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- 38891496197e27f537cabf3a43e2b73330da1837 diff --git a/t/t9822-git-p4-path-encoding.sh b/t/t9822-git-p4-path-encoding.sh index c78477c19b..de0b46581d 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 '