From e22cbcec27a053ab01e7a03f994cbce4ee186a09 Mon Sep 17 00:00:00 2001 From: Christian Couder Date: Sat, 12 Sep 2015 19:16:54 +0200 Subject: [PATCH] t0100: add peerid check License: MIT Signed-off-by: Christian Couder --- test/sharness/t0100-name.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/sharness/t0100-name.sh b/test/sharness/t0100-name.sh index b2ea8f4bc..d782729ca 100755 --- a/test/sharness/t0100-name.sh +++ b/test/sharness/t0100-name.sh @@ -14,6 +14,7 @@ test_init_ipfs test_expect_success "'ipfs name publish' succeeds" ' PEERID=`ipfs id --format=""` && + 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=""` && + 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 ' succeeds" ' PEERID=`ipfs id --format=""` && + test_check_peerid "${PEERID}" && ipfs name publish "${PEERID}" "/ipfs/$HASH_WELCOME_DOCS" >actual_node_id_publish '