Skip to content

Commit 5b53175

Browse files
committed
Merge branch 'ma/t1450-quotefix'
Test fix. * ma/t1450-quotefix: t1450: fix quoting of NUL byte when corrupting pack
2 parents 197253e + dc156bc commit 5b53175

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t1450-fsck.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ test_expect_success 'fsck fails on corrupt packfile' '
714714
# at least one of which is not zero, so setting the first byte to 0 is
715715
# sufficient.)
716716
chmod a+w .git/objects/pack/pack-$pack.pack &&
717-
printf '\0' | dd of=.git/objects/pack/pack-$pack.pack bs=1 conv=notrunc seek=12 &&
717+
printf "\0" | dd of=.git/objects/pack/pack-$pack.pack bs=1 conv=notrunc seek=12 &&
718718
719719
test_when_finished "rm -f .git/objects/pack/pack-$pack.*" &&
720720
remove_object $hsh &&

0 commit comments

Comments
 (0)