Skip to content

Commit

Permalink
Merge pull request #2040 from ipfs/t0020-fix-osx-dir-perms
Browse files Browse the repository at this point in the history
t0020: cleanup dir with bad perms
  • Loading branch information
jbenet committed Dec 6, 2015
2 parents 83246d3 + 5721a10 commit 9066b12
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/sharness/t0020-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" '
Expand Down

0 comments on commit 9066b12

Please sign in to comment.