diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-10-25 16:07:01 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-25 16:07:01 -0700 |
commit | c6fc44e9bf85dc02f6d33b11d9b5d1e10711d125 (patch) | |
tree | 9bfc36897f083debfb0706f0b6703b304ecf0dea /t/t4008-diff-break-rewrite.sh | |
parent | Merge branch 'ab/fix-make-lint-docs' (diff) | |
parent | tests: stop using top-level "README" and "COPYING" files (diff) | |
download | tgif-c6fc44e9bf85dc02f6d33b11d9b5d1e10711d125.tar.xz |
Merge branch 'ab/test-lib-diff-cleanup'
Test clean-up.
* ab/test-lib-diff-cleanup:
tests: stop using top-level "README" and "COPYING" files
"lib-diff" tests: make "README" and "COPYING" test data smaller
Diffstat (limited to 't/t4008-diff-break-rewrite.sh')
-rwxr-xr-x | t/t4008-diff-break-rewrite.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t4008-diff-break-rewrite.sh b/t/t4008-diff-break-rewrite.sh index 2299f27511..562aaf3a2a 100755 --- a/t/t4008-diff-break-rewrite.sh +++ b/t/t4008-diff-break-rewrite.sh @@ -25,8 +25,8 @@ Further, with -B and -M together, these should turn into two renames. . "$TEST_DIRECTORY"/lib-diff.sh ;# test-lib chdir's into trash test_expect_success setup ' - cat "$TEST_DIRECTORY"/lib-diff/README >file0 && - cat "$TEST_DIRECTORY"/lib-diff/COPYING >file1 && + echo some dissimilar content >file0 && + COPYING_test_data >file1 && blob0_id=$(git hash-object file0) && blob1_id=$(git hash-object file1) && git update-index --add file0 file1 && |