Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
petar committed Jul 30, 2020
1 parent 276d370 commit 26ce3a0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/sharness/t0100-name.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ test_name_with_self() {

# test publishing with B36CID and B58MH resolve to the same B36CID

test_expect_success "generate and verify a new key" '
test_expect_success "verify self key output" '
B58MH_ID=`ipfs key list -f=b58mh -l | grep self | cut -d " " -f1` &&
B36CID_ID=`ipfs key list -f=b36cid -l | grep self | cut -d " " -f1` &&
test_check_peerid "${B58MH_ID}" &&
Expand Down Expand Up @@ -142,7 +142,6 @@ test_name_with_self() {
OBJECT_HASH="$(echo "{\"thing\": {\"/\": \"${HELLO_HASH}\" }}" | ipfs dag put)"
'
test_expect_success "'ipfs name publish --allow-offline /ipld/...' succeeds" '
PEERID=`ipfs key list -f=b36cid -l | grep self | cut -d " " -f1` &&
test_check_peerid "${PEERID}" &&
ipfs name publish --allow-offline "/ipld/$OBJECT_HASH/thing" >publish_out
'
Expand Down

0 comments on commit 26ce3a0

Please sign in to comment.