@cryptotaxi247 / kubo / commits / a7629a27c

fix rotate sharness

Petar Maymounkov committed Aug 10, 2020 at 07:58 UTC a7629a27c0c4fdc6f3a07652e6763839edec0ef6
1 file changed +2 -2
test/sharness/t0027-rotate.sh
+2 -2
@@ -56,8 +56,8 @@ test_rotate() {
56 test_expect_success "checking ID" '
57 ipfs config Identity.PeerID > expected-id &&
58 ipfs id -f "<id>\n" > actual-id &&
59 - ipfs key list -l | grep self | cut -d " " -f1 > keystore-id &&
60 - ipfs key list -l | grep oldkey | cut -d " " -f1 | tr -d "\n" > old-keystore-id &&
59 + ipfs key list -l -f=b58mh | grep self | cut -d " " -f1 > keystore-id &&
60 + ipfs key list -l -f=b58mh | grep oldkey | cut -d " " -f1 | tr -d "\n" > old-keystore-id &&
61 test_cmp expected-id actual-id &&
62 test_cmp expected-id keystore-id &&
63 test_cmp old-keystore-id first_id