summaryrefslogtreecommitdiff
path: root/t/t3307-notes-man.sh
diff options
context:
space:
mode:
authorVitaliy Ivanov <vitalivanov@gmail.com>2011-07-19 20:21:47 +0300
committerJunio C Hamano <gitster@pobox.com>2011-07-19 12:04:47 -0700
commitb5967f820c9774285ec4380e77d5356c3cd6eb99 (patch)
tree59ee1f942e0e75c994075593387009616d8c03a4 /t/t3307-notes-man.sh
parentd28790dc31ca1bcdca7254a6b9381b6c84e91271 (diff)
downloadgit-b5967f820c9774285ec4380e77d5356c3cd6eb99.tar.gz
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-xt/t3307-notes-man.sh6
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