mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-27 16:07:42 +08:00
t0110: add peerid check
License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
This commit is contained in:
@ -59,8 +59,9 @@ test_expect_success "GET IPFS non existent file returns code expected (404)" '
|
||||
|
||||
test_expect_failure "GET IPNS path succeeds" '
|
||||
ipfs name publish "$HASH" &&
|
||||
NAME=$(ipfs config Identity.PeerID) &&
|
||||
curl -sfo actual "http://127.0.0.1:$port/ipns/$NAME"
|
||||
PEERID=$(ipfs config Identity.PeerID) &&
|
||||
test_check_peerid "$PEERID" &&
|
||||
curl -sfo actual "http://127.0.0.1:$port/ipns/$PEERID"
|
||||
'
|
||||
|
||||
test_expect_failure "GET IPNS path output looks good" '
|
||||
|
Reference in New Issue
Block a user