File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,13 @@ ipfs id -f="<pubkey>" > second_key &&
27
27
'
28
28
29
29
test_expect_success " checking ID" '
30
- ipfs config Identity.PeerID > expected-id &&
31
- ipfs id -f "<id>\n" > actual-id &&
32
- ipfs key list -l | grep self | cut -d " " -f1 > keystore-id &&
33
- test_cmp expected-id actual-id &&
34
- test_cmp expected-id keystore-id
30
+ ipfs config Identity.PeerID > expected-id &&
31
+ ipfs id -f "<id>\n" > actual-id &&
32
+ ipfs key list -l | grep self | cut -d " " -f1 > keystore-id &&
33
+ ipfs key list -l | grep oldkey | cut -d " " -f1 | tr -d "\n" > old-keystore-id &&
34
+ test_cmp expected-id actual-id &&
35
+ test_cmp expected-id keystore-id &&
36
+ test_cmp old-keystore-id first_id
35
37
'
36
38
37
39
test_launch_ipfs_daemon
You can’t perform that action at this time.
0 commit comments