diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-08-10 20:23:59 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-08-10 20:23:59 +0300 |
commit | 5b53175b7a03a08c05ad5b2874bb48f07918c9ed (patch) | |
tree | 82eb363e6a7e6e434308385545dedace3b6156e1 /t | |
parent | 197253ed32040dda8354614312ef9b5687d7ccae (diff) | |
parent | dc156bc31f6a992599cd5c35af27026c39fcbf77 (diff) |
Merge branch 'ma/t1450-quotefix'
Test fix.
* ma/t1450-quotefix:
t1450: fix quoting of NUL byte when corrupting pack
Diffstat (limited to 't')
-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 344a2aad82..af2a2c4682 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 && |