1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-07-01 19:24:14 +08:00

Make if condition in sharness lib silent

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
Jakub Sztandera
2016-05-15 21:19:44 +02:00
parent 7614f4f700
commit bdea10ff0e

View File

@ -194,7 +194,7 @@ test_set_address_vars() {
GWAY_PORT=$(port_from_maddr $GWAY_MADDR)
'
if ipfs swarm addrs local; then
if ipfs swarm addrs local >/dev/null 2>&1; then
test_expect_success "set swarm address vars" '
ipfs swarm addrs local > addrs_out &&
SWARM_MADDR=$(grep "127.0.0.1" addrs_out) &&