Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
57d7a443
Commit
57d7a443
authored
Jul 02, 2015
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test dialblocklist loading from config
License: MIT Signed-off-by:
Jeromy
<
jeromyj@gmail.com
>
parent
7cc73f7b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
test/sharness/t0141-addfilter.sh
test/sharness/t0141-addfilter.sh
+7
-0
No files found.
test/sharness/t0141-addfilter.sh
View file @
57d7a443
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment