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
71288160
Commit
71288160
authored
Oct 19, 2015
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add small test to ensure ipfs id <self> works
License: MIT Signed-off-by:
Jeromy
<
jeromyj@gmail.com
>
parent
cac6b376
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
test/sharness/t0140-swarm.sh
test/sharness/t0140-swarm.sh
+10
-0
No files found.
test/sharness/t0140-swarm.sh
View file @
71288160
...
@@ -28,6 +28,16 @@ test_expect_success 'disconnected: addrs local matches ipfs id' '
...
@@ -28,6 +28,16 @@ test_expect_success 'disconnected: addrs local matches ipfs id' '
test_cmp expected actual
test_cmp expected actual
'
'
test_expect_success
"ipfs id self works"
'
myid=$(ipfs id -f="<id>") &&
ipfs id --timeout=1s $myid > output
'
test_expect_success
"output looks good"
'
grep $myid output &&
grep PublicKey output
'
test_kill_ipfs_daemon
test_kill_ipfs_daemon
test_done
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