Merge pull request #7332 from ipfs/test/test-fuse-local

test(sharness): test the local symlink
This commit is contained in:
Steven Allen 2020-05-19 20:07:22 -07:00 committed by GitHub
commit 2a32d9f81d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 &&