1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-07-01 19:24:14 +08:00

fix: race of conditions in keystore test

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
Jakub Sztandera
2017-02-28 18:19:42 +01:00
parent 25c3e126b8
commit fe0cc96b24

View File

@ -33,7 +33,8 @@ test_key_cmd() {
'
test_expect_success "key list -l contains self key with peerID" '
ipfs key list -l | grep "$(ipfs config Identity.PeerID) self"
PeerID="$(ipfs config Identity.PeerID)"
ipfs key list -l | grep "$PeerID self"
'
}