Commit 184c7a01 authored by Łukasz Magiera's avatar Łukasz Magiera

Add sharness test for init --profile

License: MIT
Signed-off-by: default avatarŁukasz Magiera <magik6k@gmail.com>
parent 49645f00
......@@ -126,6 +126,21 @@ test_expect_success "clean up ipfs dir" '
rm -rf "$IPFS_PATH"
'
# test init profiles
test_expect_success "'ipfs init --profile' succeeds" '
BITS="1024" &&
ipfs init --bits="$BITS" --profile=server
'
test_expect_success "'ipfs config Swarm.AddrFilters' looks good" '
ipfs config Swarm.AddrFilters > actual_config &&
test $(cat actual_config | wc -l) = 17
'
test_expect_success "clean up ipfs dir" '
rm -rf "$IPFS_PATH"
'
test_init_ipfs
test_launch_ipfs_daemon
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment