зеркало из https://github.com/microsoft/git.git
t5300: improve SHA1 collision test
Make sure the reason for the command failure is actually due to the detection of SHA1 collision. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
eede9f42b5
Коммит
5f020f7202
|
@ -272,7 +272,8 @@ test_expect_success \
|
|||
|
||||
test_expect_success \
|
||||
'make sure index-pack detects the SHA1 collision' \
|
||||
'test_must_fail git-index-pack -o bad.idx test-3.pack'
|
||||
'test_must_fail git-index-pack -o bad.idx test-3.pack 2>msg &&
|
||||
grep "SHA1 COLLISION FOUND" msg'
|
||||
|
||||
test_expect_success \
|
||||
'honor pack.packSizeLimit' \
|
||||
|
|
Загрузка…
Ссылка в новой задаче