X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft4008-diff-break-rewrite.sh;h=7e343a9cd130a73547ed1df9a4d9cd364e60bf9f;hb=f0817310903312bbc243dd80f066e17a8e0e4b1d;hp=26c2e4aa65c539c527ae8e2d71b5abb40c21fbbd;hpb=cab31fa076253fcfafa7572c24e40f12a1e09ae3;p=git.git diff --git a/t/t4008-diff-break-rewrite.sh b/t/t4008-diff-break-rewrite.sh index 26c2e4aa6..7e343a9cd 100755 --- a/t/t4008-diff-break-rewrite.sh +++ b/t/t4008-diff-break-rewrite.sh @@ -22,12 +22,12 @@ four changes in total. Further, with -B and -M together, these should turn into two renames. ' . ./test-lib.sh -. ../diff-lib.sh ;# test-lib chdir's into trash +. "$TEST_DIRECTORY"/diff-lib.sh ;# test-lib chdir's into trash test_expect_success \ setup \ - 'cat ../../README >file0 && - cat ../../COPYING >file1 && + 'cat "$TEST_DIRECTORY"/../README >file0 && + cat "$TEST_DIRECTORY"/../COPYING >file1 && git update-index --add file0 file1 && tree=$(git write-tree) && echo "$tree"'