1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-30 18:13:54 +08:00

test dialblocklist loading from config

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
This commit is contained in:
Jeromy
2015-07-02 13:38:15 -07:00
parent 7cc73f7b86
commit 57d7a443a0

View File

@ -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