mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-10 10:47:51 +08:00
Merge pull request #7332 from ipfs/test/test-fuse-local
test(sharness): test the local symlink
This commit is contained in:
commit
2a32d9f81d
@ -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 &&
|
||||
|
||||
Loading…
Reference in New Issue
Block a user