diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-02-15 13:44:24 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-02-15 15:38:10 -0800 |
commit | 459b8d22e544b3876a2270ee7290c289a39ebbb2 (patch) | |
tree | 64fef4aea9cfc2238ab2240d4586dca1484fc1e9 /t/t4007-rename-3.sh | |
parent | bb8db1b5538a455a0892312b25d73d51f2650429 (diff) | |
download | git-459b8d22e544b3876a2270ee7290c289a39ebbb2.tar.gz |
tests: do not borrow from COPYING and README from the real source
These two files have been modified since the tests started using
as test input, making the exact object names they expect to be
different from what actually happens in the trash repository they
use to run tests.
Instead, take a snapshot of these two files and keep them in
t/diff-lib/ so that we can update the real ones without having to
worry about breaking tests.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4007-rename-3.sh')
-rwxr-xr-x | t/t4007-rename-3.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t4007-rename-3.sh b/t/t4007-rename-3.sh index 11502b7509..dae327fabb 100755 --- a/t/t4007-rename-3.sh +++ b/t/t4007-rename-3.sh @@ -11,7 +11,7 @@ test_description='Rename interaction with pathspec. test_expect_success 'prepare reference tree' ' mkdir path0 path1 && - cp "$TEST_DIRECTORY"/../COPYING path0/COPYING && + cp "$TEST_DIRECTORY"/diff-lib/COPYING path0/COPYING && git update-index --add path0/COPYING && tree=$(git write-tree) && echo $tree |