提交 5721a105 作者: Christian Couder

t0020: cleanup dir with bad perms

This is needed on OSX otherwise the trash directory for the
t0020-init.sh test fails to be removed due to a permissions
error.

This fixes https://github.com/ipfs/go-ipfs/issues/2026

License: MIT
Signed-off-by: 's avatarChristian Couder <chriscool@tuxfamily.org>
上级 83246d3e
......@@ -24,6 +24,11 @@ test_expect_success "ipfs init output looks good" '
test_cmp init_fail_exp init_fail_out
'
test_expect_success "cleanup dir with bad perms" '
chmod 775 "$IPFS_PATH" &&
rmdir "$IPFS_PATH"
'
# test no repo error message
# this applies to `ipfs add sth`, `ipfs refs <hash>`
test_expect_success "ipfs cat fails" '
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论