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
184c7a01
Commit
184c7a01
authored
Jun 21, 2017
by
Łukasz Magiera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add sharness test for init --profile
License: MIT Signed-off-by:
Łukasz Magiera
<
magik6k@gmail.com
>
parent
49645f00
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
test/sharness/t0020-init.sh
test/sharness/t0020-init.sh
+15
-0
No files found.
test/sharness/t0020-init.sh
View file @
184c7a01
...
...
@@ -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
...
...
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