diff --git a/t/t4252-am-options.sh b/t/t4252-am-options.sh
index e91a6da0d50e432ea964b73285923f63f9965f48..5fdd1885820927f32822019ccde52e6b783e31eb 100755 (executable)
--- a/t/t4252-am-options.sh
+++ b/t/t4252-am-options.sh
grep One "frotz nitfol/file-5"
'
+test_expect_success 'apply to a funny path' '
+ with_sq="with'\''sq"
+ rm -fr .git/rebase-apply &&
+ git reset --hard initial &&
+ git am --directory="$with_sq" "$tm"/am-test-5-2 &&
+ test -f "$with_sq/file-5"
+'
+
test_done