format-patch: inform user that patch-id generation is unstable
[gitweb.git] / t / t9822-git-p4-path-encoding.sh
index c78477c19b4330f990c0cdd7d96997b8ed2ed02c..572d395498e30a3743b77c577d7c4b91d714b392 100755 (executable)
@@ -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
 '
@@ -67,8 +74,4 @@ test_expect_success 'Delete iso8859-1 encoded paths and clone' '
        )
 '
 
-test_expect_success 'kill p4d' '
-       kill_p4d
-'
-
 test_done