Skip to content

Commit

Permalink
Merge pull request #7332 from ipfs/test/test-fuse-local
Browse files Browse the repository at this point in the history
test(sharness): test the local symlink
  • Loading branch information
Stebalien committed May 20, 2020
2 parents 55f64ba + f6f6658 commit 2a32d9f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/sharness/t0030-mount.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ test_expect_success FUSE "'ipfs mount' output looks good" '
test_cmp expected actual
'

test_expect_success FUSE "local symlink works" '
ipfsi 0 id -f"<id>\n" > expected &&
basename $(readlink ipns/local) > actual &&
test_cmp expected actual
'

test_expect_success FUSE "can resolve ipns names" '
echo -n "ipfs" > expected &&
cat ipns/welcome.example.com/ping > actual &&
Expand Down

0 comments on commit 2a32d9f

Please sign in to comment.