1
0
mirror of https://github.com/git/git.git synced 2024-10-03 10:31:23 +02:00

t5303: work around printf breakage in dash

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Junio C Hamano 2008-11-09 13:08:38 -08:00
parent 59dd9ed183
commit 8c1f6f6c57

@ -234,7 +234,7 @@ test_expect_success \
'corruption #1 in delta base reference of first delta (OBJ_OFS_DELTA)' \ 'corruption #1 in delta base reference of first delta (OBJ_OFS_DELTA)' \
'create_new_pack --delta-base-offset && 'create_new_pack --delta-base-offset &&
git prune-packed && 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 && 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_2 > /dev/null &&
test_must_fail git cat-file blob $blob_3 > /dev/null' test_must_fail git cat-file blob $blob_3 > /dev/null'