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
3bb59efa
Commit
3bb59efa
authored
Mar 19, 2018
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add sharness test for #4837
License: MIT Signed-off-by:
Steven Allen
<
steven@stebalien.com
>
parent
7824c2cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
test/sharness/t0100-name.sh
test/sharness/t0100-name.sh
+6
-0
No files found.
test/sharness/t0100-name.sh
View file @
3bb59efa
...
...
@@ -99,6 +99,12 @@ test_expect_success "'ipfs name publish' fails" '
printf '' | test_expect_code 1 ipfs name publish >publish_out 2>&1
'
test_expect_success
"'ipfs name publish --help' succeeds"
'
PEERID=`ipfs id --format="<id>"` &&
test_check_peerid "${PEERID}" &&
ipfs name publish --help
'
test_expect_success
"publish output has the correct error"
'
grep "argument \"ipfs-path\" is required" publish_out
'
...
...
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