提交 71288160 作者: Jeromy

add small test to ensure ipfs id <self> works

License: MIT
Signed-off-by: 's avatarJeromy <jeromyj@gmail.com>
上级 cac6b376
......@@ -28,6 +28,16 @@ test_expect_success 'disconnected: addrs local matches ipfs id' '
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_done
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论