@cryptotaxi247 / kubo / commits / 6eca4928d

test(sharness): fix fuse tests

We count "mount" IPNS if it refers to a file instead of a directory.

Steven Allen committed May 14, 2020 at 13:14 UTC 6eca4928d647757c7711b720f23ff02fb7871a85
1 file changed +2 -2
test/sharness/t0031-mount-publish.sh
+2 -2
@@ -22,9 +22,9 @@ test_expect_success 'init iptb' '
22 '
23
24 # pre-mount publish
25 -HASH=$(echo 'hello warld' | ipfsi 0 add -q)
25 +HASH=$(echo 'hello warld' | ipfsi 0 add -Q -w --stdin-name "file")
26 test_expect_success "can publish before mounting /ipns" '
27 - ipfsi 0 name publish '$HASH'
27 + ipfsi 0 name publish "$HASH"
28 '
29
30 # mount