From f6f6658f6f95d8b1ee84041c48845e96810de50b Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Tue, 19 May 2020 18:59:54 -0700 Subject: [PATCH] test(sharness): test the local symlink --- test/sharness/t0030-mount.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/sharness/t0030-mount.sh b/test/sharness/t0030-mount.sh index a23fd160263..0c0983d0c41 100755 --- a/test/sharness/t0030-mount.sh +++ b/test/sharness/t0030-mount.sh @@ -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"\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 &&