X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft4014-format-patch.sh;h=531f5b795c197d942223db3cdc2d2030208e9beb;hb=dd2195eb80ee5753e41d9688ddf6758a142a14df;hp=922a8941ed4720e2ad6dcd500a3759187aace969;hpb=cec3f989dab861761ad83e264c3cd8a754e4ace5;p=git.git diff --git a/t/t4014-format-patch.sh b/t/t4014-format-patch.sh index 922a8941e..531f5b795 100755 --- a/t/t4014-format-patch.sh +++ b/t/t4014-format-patch.sh @@ -493,13 +493,12 @@ test_expect_success 'format-patch from a subdirectory (2)' ' ' test_expect_success 'format-patch from a subdirectory (3)' ' - here="$TEST_DIRECTORY/$test" && rm -f 0* && filename=$( rm -rf sub && mkdir -p sub/dir && cd sub/dir && - git format-patch -1 -o "$here" + git format-patch -1 -o "$TRASH_DIRECTORY" ) && basename=$(expr "$filename" : ".*/\(.*\)") && test -f "$basename"