nixos/tests/ipfs: Simplify FUSE test

Co-authored-by: Luflosi <Luflosi@users.noreply.github.com>
This commit is contained in:
Max 2022-06-13 21:01:32 +02:00 committed by GitHub
parent 699e389f83
commit 664dab9574
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ import ./make-test-python.nix ({ pkgs, ...} : {
# Test FUSE mountpoint
ipfs_hash = fuse.succeed(
"echo fnord3 | ipfs --api /ip4/127.0.0.1/tcp/2324 add | awk '{ print $2 }'"
"echo fnord3 | ipfs --api /ip4/127.0.0.1/tcp/2324 add --quieter"
)
fuse.succeed(f"cat /ipfs/{ipfs_hash.strip()} | grep fnord3")