diff options
author | Vitaliy Ivanov <vitalivanov@gmail.com> | 2011-07-19 20:21:47 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-07-19 12:04:47 -0700 |
commit | b5967f820c9774285ec4380e77d5356c3cd6eb99 (patch) | |
tree | 59ee1f942e0e75c994075593387009616d8c03a4 /t/t3307-notes-man.sh | |
parent | docs: document --textconv diff option (diff) | |
download | tgif-b5967f820c9774285ec4380e77d5356c3cd6eb99.tar.xz |
tests: cleanup binary test vector files
The test4012.png test vector file that was originally used for t4012 to
check operations on binary files was later reused in other tests, making
it no longer consistent to name it after a specific test. Rename it to more
generic "test-binary-1.png".
While at it, rename test9200b to "test-binary-2.png" (even though it is
only used by t9200).
Signed-off-by: Vitaliy Ivanov <vitalivanov@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3307-notes-man.sh')
-rwxr-xr-x | t/t3307-notes-man.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t3307-notes-man.sh b/t/t3307-notes-man.sh index 2ea3be6546..1aa366a410 100755 --- a/t/t3307-notes-man.sh +++ b/t/t3307-notes-man.sh @@ -26,13 +26,13 @@ test_expect_success 'example 1: notes to add an Acked-by line' ' ' test_expect_success 'example 2: binary notes' ' - cp "$TEST_DIRECTORY"/test4012.png . && + cp "$TEST_DIRECTORY"/test-binary-1.png . && git checkout B && - blob=$(git hash-object -w test4012.png) && + blob=$(git hash-object -w test-binary-1.png) && git notes --ref=logo add -C "$blob" && git notes --ref=logo copy B C && git notes --ref=logo show C >actual && - test_cmp test4012.png actual + test_cmp test-binary-1.png actual ' test_done |