t5303: work around printf breakage in dash
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
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'
|
||||||
|
Loading…
Reference in New Issue
Block a user