diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-08-10 17:23:59 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-08-10 17:23:59 (GMT) |
commit | 5b53175b7a03a08c05ad5b2874bb48f07918c9ed (patch) | |
tree | 82eb363e6a7e6e434308385545dedace3b6156e1 /t/t1450-fsck.sh | |
parent | 197253ed32040dda8354614312ef9b5687d7ccae (diff) | |
parent | dc156bc31f6a992599cd5c35af27026c39fcbf77 (diff) | |
download | git-5b53175b7a03a08c05ad5b2874bb48f07918c9ed.zip git-5b53175b7a03a08c05ad5b2874bb48f07918c9ed.tar.gz git-5b53175b7a03a08c05ad5b2874bb48f07918c9ed.tar.bz2 |
Merge branch 'ma/t1450-quotefix'
Test fix.
* ma/t1450-quotefix:
t1450: fix quoting of NUL byte when corrupting pack
Diffstat (limited to 't/t1450-fsck.sh')
-rwxr-xr-x | t/t1450-fsck.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1450-fsck.sh b/t/t1450-fsck.sh index 344a2aa..af2a2c4 100755 --- a/t/t1450-fsck.sh +++ b/t/t1450-fsck.sh @@ -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 && |