зеркало из https://github.com/microsoft/git.git
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
This commit is contained in:
Коммит
36b65715a4
|
@ -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 &&
|
||||
|
|
Загрузка…
Ссылка в новой задаче