test(sharness): test the local symlink
Steven Allen committed
May 19, 2020 at 18:59 UTC
f6f6658f6f95d8b1ee84041c48845e96810de50b
1 file changed
+6
test/sharness/t0030-mount.sh
+6
@@ -55,6 +55,12 @@ test_expect_success FUSE "'ipfs mount' output looks good" '
55
test_cmp expected actual
56
'
57
58
+test_expect_success FUSE "local symlink works" '
59
+ ipfsi 0 id -f"<id>\n" > expected &&
60
+ basename $(readlink ipns/local) > actual &&
61
+ test_cmp expected actual
62
+'
63
+
64
test_expect_success FUSE "can resolve ipns names" '
65
echo -n "ipfs" > expected &&
66
cat ipns/welcome.example.com/ping > actual &&