Commit 28949db4 authored by Karmanyaah Malhotra's avatar Karmanyaah Malhotra
Browse files

nixos/kubo: reenable FUSE test with workaround



Update comment notice on broken fuse

Co-authored-by: default avatarLuflosi <Luflosi@users.noreply.github.com>
parent 8aff71f5
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -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")
  '';
})