summaryrefslogtreecommitdiff
path: root/t/t1450-fsck.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2022-01-14 15:25:15 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-01-14 15:25:15 -0800
commit36b65715a4132f81250a97aad7800abcc2d34d73 (patch)
tree04da719495d22e07a24bfb584aa18a0c9d27b0ba /t/t1450-fsck.sh
parentMerge branch 'ab/reftable-build-fixes' (diff)
parentt1450-fsck: exec-bit is not needed to make loose object writable (diff)
downloadtgif-36b65715a4132f81250a97aad7800abcc2d34d73.tar.xz
Merge branch 'js/t1450-making-it-writable-does-not-need-full-posixperm'
Test fix. * js/t1450-making-it-writable-does-not-need-full-posixperm: t1450-fsck: exec-bit is not needed to make loose object writable
Diffstat (limited to 't/t1450-fsck.sh')
-rwxr-xr-xt/t1450-fsck.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t1450-fsck.sh b/t/t1450-fsck.sh
index 6337236fd8..de50c0ea01 100755
--- a/t/t1450-fsck.sh
+++ b/t/t1450-fsck.sh
@@ -94,13 +94,13 @@ test_expect_success 'object with hash and type mismatch' '
)
'
-test_expect_success POSIXPERM 'zlib corrupt loose object output ' '
+test_expect_success 'zlib corrupt loose object output ' '
git init --bare corrupt-loose-output &&
(
cd corrupt-loose-output &&
oid=$(git hash-object -w --stdin --literally </dev/null) &&
oidf=objects/$(test_oid_to_path "$oid") &&
- chmod 755 $oidf &&
+ chmod +w $oidf &&
echo extra garbage >>$oidf &&
cat >expect.error <<-EOF &&