3
0
Fork 0
forked from mirrors/nixpkgs

nixos/kubo: reenable FUSE test with workaround

Update comment notice on broken fuse

Co-authored-by: Luflosi <Luflosi@users.noreply.github.com>
This commit is contained in:
Karmanyaah Malhotra 2023-02-05 18:31:04 -06:00
parent 8aff71f5da
commit 28949db47e

View file

@ -50,12 +50,13 @@ import ./make-test-python.nix ({ pkgs, ...} : {
machine.succeed("test ! -e /var/lib/ipfs/")
# Test FUSE mountpoint
# The FUSE mount functionality is broken as of v0.13.0 and v0.17.0.
# See https://github.com/ipfs/kubo/issues/9044.
# Workaround: using CID Version 1 avoids that.
ipfs_hash = fuse.succeed(
"echo fnord3 | ipfs --api /ip4/127.0.0.1/tcp/2324 add --quieter"
"echo fnord3 | ipfs --api /ip4/127.0.0.1/tcp/2324 add --quieter --cid-version=1"
)
# The FUSE mount functionality is broken as of v0.13.0.
# See https://github.com/ipfs/kubo/issues/9044.
# fuse.succeed(f"cat /ipfs/{ipfs_hash.strip()} | grep fnord3")
fuse.succeed(f"cat /ipfs/{ipfs_hash.strip()} | grep fnord3")
'';
})