@cryptotaxi247 / kubo / commits / 3e25355ee

fix keystore sharness default case

Petar Maymounkov committed Aug 11, 2020 at 17:47 UTC 3e25355eeb9f5e7f2a8f47fa0b56bd0001f1997a
1 file changed +4 -4
test/sharness/t0165-keystore.sh
+4 -4
@@ -59,12 +59,12 @@ ipfs key rm key_ed25519
59
60
61 test_expect_success "create a new rsa key" '
62 - rsahash=$(ipfs key gen generated_rsa_key --type=rsa --size=2048 --ipns-base=b58mh)
62 + rsahash=$(ipfs key gen generated_rsa_key --type=rsa --size=2048)
63 echo $rsahash > rsa_key_id
64 '
65
66 test_expect_success "create a new ed25519 key" '
67 - edhash=$(ipfs key gen generated_ed25519_key --type=ed25519 --ipns-base=b58mh)
67 + edhash=$(ipfs key gen generated_ed25519_key --type=ed25519)
68 echo $edhash > ed25519_key_id
69 '
70
@@ -119,8 +119,8 @@ ipfs key rm key_ed25519
119 '
120
121 test_expect_success "key hashes show up in long list output" '
122 - ipfs key list -l --ipns-base=b58mh | grep $edhash > /dev/null &&
123 - ipfs key list -l --ipns-base=b58mh | grep $rsahash > /dev/null
122 + ipfs key list -l | grep $edhash > /dev/null &&
123 + ipfs key list -l | grep $rsahash > /dev/null
124 '
125
126 test_expect_success "key list -l contains self key with peerID" '