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
e22cbcec
Commit
e22cbcec
authored
Sep 12, 2015
by
Christian Couder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
t0100: add peerid check
License: MIT Signed-off-by:
Christian Couder
<
chriscool@tuxfamily.org
>
parent
bec8224a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
test/sharness/t0100-name.sh
test/sharness/t0100-name.sh
+3
-0
No files found.
test/sharness/t0100-name.sh
View file @
e22cbcec
...
...
@@ -14,6 +14,7 @@ test_init_ipfs
test_expect_success
"'ipfs name publish' succeeds"
'
PEERID=`ipfs id --format="<id>"` &&
test_check_peerid "${PEERID}" &&
ipfs name publish "/ipfs/$HASH_WELCOME_DOCS" >publish_out
'
...
...
@@ -35,6 +36,7 @@ test_expect_success "resolve output looks good" '
test_expect_success
"'ipfs name publish' succeeds"
'
PEERID=`ipfs id --format="<id>"` &&
test_check_peerid "${PEERID}" &&
ipfs name publish "/ipfs/$HASH_WELCOME_DOCS/help" >publish_out
'
...
...
@@ -56,6 +58,7 @@ test_expect_success "resolve output looks good" '
test_expect_success
"'ipfs name publish <local-id> <hash>' succeeds"
'
PEERID=`ipfs id --format="<id>"` &&
test_check_peerid "${PEERID}" &&
ipfs name publish "${PEERID}" "/ipfs/$HASH_WELCOME_DOCS" >actual_node_id_publish
'
...
...
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