for name in \
Name "Name and a${LF}LF" "Name and an${HT}HT" "Name${DQ}" \
"$FN$HT$GN" "$FN$LF$GN" "$FN $GN" "$FN$GN" "$FN$DQ$GN" \
- "With SP in it" "caractère spécial/file"
+ "With SP in it" "$FN/file"
do
eval "$1"
done
test_expect_success setup '
- mkdir "caractère spécial" &&
+ mkdir "$FN" &&
for_each_name "echo initial >\"\$name\""
git add . &&
git commit -q -m Initial &&
"Name and an\tHT"
"Name\""
With SP in it
-"caract\303\250re sp\303\251cial/file"
"\346\277\261\351\207\216\t\347\264\224"
"\346\277\261\351\207\216\n\347\264\224"
"\346\277\261\351\207\216 \347\264\224"
"\346\277\261\351\207\216\"\347\264\224"
+"\346\277\261\351\207\216/file"
"\346\277\261\351\207\216\347\264\224"
EOF
"Name and an\tHT"
"Name\""
With SP in it
-caractère spécial/file
"濱野\t純"
"濱野\n純"
濱野 純
"濱野\"純"
+濱野/file
濱野純
EOF