Commit 3e25355e authored by Petar Maymounkov's avatar Petar Maymounkov

fix keystore sharness default case

parent 2b013a1a
...@@ -59,12 +59,12 @@ ipfs key rm key_ed25519 ...@@ -59,12 +59,12 @@ ipfs key rm key_ed25519
test_expect_success "create a new rsa key" ' test_expect_success "create a new rsa key" '
rsahash=$(ipfs key gen generated_rsa_key --type=rsa --size=2048 --ipns-base=b58mh) rsahash=$(ipfs key gen generated_rsa_key --type=rsa --size=2048)
echo $rsahash > rsa_key_id echo $rsahash > rsa_key_id
' '
test_expect_success "create a new ed25519 key" ' test_expect_success "create a new ed25519 key" '
edhash=$(ipfs key gen generated_ed25519_key --type=ed25519 --ipns-base=b58mh) edhash=$(ipfs key gen generated_ed25519_key --type=ed25519)
echo $edhash > ed25519_key_id echo $edhash > ed25519_key_id
' '
...@@ -119,8 +119,8 @@ ipfs key rm key_ed25519 ...@@ -119,8 +119,8 @@ ipfs key rm key_ed25519
' '
test_expect_success "key hashes show up in long list output" ' test_expect_success "key hashes show up in long list output" '
ipfs key list -l --ipns-base=b58mh | grep $edhash > /dev/null && ipfs key list -l | grep $edhash > /dev/null &&
ipfs key list -l --ipns-base=b58mh | grep $rsahash > /dev/null ipfs key list -l | grep $rsahash > /dev/null
' '
test_expect_success "key list -l contains self key with peerID" ' test_expect_success "key list -l contains self key with peerID" '
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment