diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-08-10 10:23:59 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-08-10 10:23:59 -0700 |
commit | 5b53175b7a03a08c05ad5b2874bb48f07918c9ed (patch) | |
tree | 82eb363e6a7e6e434308385545dedace3b6156e1 /t | |
parent | Merge branch 'es/worktree-cleanup' (diff) | |
parent | t1450: fix quoting of NUL byte when corrupting pack (diff) | |
download | tgif-5b53175b7a03a08c05ad5b2874bb48f07918c9ed.tar.xz |
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 && |