tests: ipfs: enable autoMount tests

authored by

Maximilian Güntner and committed by
Eric Litak
44475cae 1a15c5d8

+2 -4
+2 -4
nixos/tests/ipfs.nix
··· 23 services.ipfs = { 24 enable = true; 25 defaultMode = "norouting"; 26 - # not yet. See #28621 27 - #autoMount = true; 28 }; 29 networking.firewall.allowedTCPPorts = [ 4001 ]; 30 }; ··· 51 52 $getter->mustSucceed("ipfs --api /ip4/127.0.0.1/tcp/5001 swarm connect /ip4/$addrIp/tcp/4001/ipfs/$addrId"); 53 $getter->mustSucceed("[ -n \"\$(ipfs --api /ip4/127.0.0.1/tcp/5001 cat /ipfs/$ipfsHash | grep fnord)\" ]"); 54 - # not yet. See #28621 55 - # $getter->mustSucceed("[ -n \"$(cat /ipfs/$ipfsHash | grep fnord)\" ]"); 56 ''; 57 })
··· 23 services.ipfs = { 24 enable = true; 25 defaultMode = "norouting"; 26 + autoMount = true; 27 }; 28 networking.firewall.allowedTCPPorts = [ 4001 ]; 29 }; ··· 50 51 $getter->mustSucceed("ipfs --api /ip4/127.0.0.1/tcp/5001 swarm connect /ip4/$addrIp/tcp/4001/ipfs/$addrId"); 52 $getter->mustSucceed("[ -n \"\$(ipfs --api /ip4/127.0.0.1/tcp/5001 cat /ipfs/$ipfsHash | grep fnord)\" ]"); 53 + $getter->mustSucceed("[ -n \"$(cat /ipfs/$ipfsHash | grep fnord)\" ]"); 54 ''; 55 })