summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 59dd9ed)
raw | patch | inline | side by side (parent: 59dd9ed)
author | Junio C Hamano <gitster@pobox.com> | |
Sun, 9 Nov 2008 21:08:38 +0000 (13:08 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 9 Nov 2008 21:08:38 +0000 (13:08 -0800) |
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5303-pack-corruption-resilience.sh | patch | blob | history |
index ac181ea38a33eb4cd5f94414135813a80d646b79..f471eadb9696d70f47c3f5a13365a9c93e0cffb5 100755 (executable)
'corruption #1 in delta base reference of first delta (OBJ_OFS_DELTA)' \
'create_new_pack --delta-base-offset &&
git prune-packed &&
- printf "\x01" | do_corrupt_object $blob_2 2 &&
+ tr "\000" "\001" </dev/zero | do_corrupt_object $blob_2 2 &&
git cat-file blob $blob_1 > /dev/null &&
test_must_fail git cat-file blob $blob_2 > /dev/null &&
test_must_fail git cat-file blob $blob_3 > /dev/null'