Commit 57d7a443 authored by Jeromy's avatar Jeromy

test dialblocklist loading from config

License: MIT
Signed-off-by: default avatarJeromy <jeromyj@gmail.com>
parent 7cc73f7b
......@@ -33,6 +33,9 @@ test_swarm_filter_cmd() {
test_swarm_filters() {
# expect first address from config
test_swarm_filter_cmd $AF1 $AF4
ipfs swarm filters rm all
test_swarm_filter_cmd
......@@ -62,6 +65,10 @@ test_swarm_filters() {
test_swarm_filter_cmd
}
test_expect_success "adding addresses to the config to filter succeeds" '
ipfs config --json DialBlocklist "[\"$AF1\", \"$AF4\"]"
'
test_launch_ipfs_daemon
test_swarm_filters
......
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