Merge branch 'ma/t1450-quotefix'
Test fix. * ma/t1450-quotefix: t1450: fix quoting of NUL byte when corrupting pack
This commit is contained in:
commit
5b53175b7a
@ -714,7 +714,7 @@ test_expect_success 'fsck fails on corrupt packfile' '
|
||||
# at least one of which is not zero, so setting the first byte to 0 is
|
||||
# sufficient.)
|
||||
chmod a+w .git/objects/pack/pack-$pack.pack &&
|
||||
printf '\0' | dd of=.git/objects/pack/pack-$pack.pack bs=1 conv=notrunc seek=12 &&
|
||||
printf "\0" | dd of=.git/objects/pack/pack-$pack.pack bs=1 conv=notrunc seek=12 &&
|
||||
|
||||
test_when_finished "rm -f .git/objects/pack/pack-$pack.*" &&
|
||||
remove_object $hsh &&
|
||||
|
Loading…
Reference in New Issue
Block a user