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
df67f3d1
Unverified
Commit
df67f3d1
authored
Jan 10, 2017
by
Jakub Sztandera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: add test for invalid routing option
License: MIT Signed-off-by:
Jakub Sztandera
<
kubuxu@protonmail.ch
>
parent
58975c32
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
test/sharness/t0061-daemon-opts.sh
test/sharness/t0061-daemon-opts.sh
+10
-0
No files found.
test/sharness/t0061-daemon-opts.sh
View file @
df67f3d1
...
...
@@ -39,4 +39,14 @@ test_expect_success 'gateway should work in offline mode' '
'
test_kill_ipfs_daemon
test_expect_success
'daemon should not start with bad dht opt'
'
test_must_fail ipfs daemon --routing=fdsfdsfds > daemon_output 2>&1
'
test_expect_success
'output contains info about dht option'
'
grep "unrecognized routing option:" daemon_output ||
test_fsh cat daemon_output
'
test_done
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