@cryptotaxi247 / kubo / commits / fe0cc96b2

fix: race of conditions in keystore test

License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

Jakub Sztandera committed Feb 28, 2017 at 18:19 UTC fe0cc96b249298e2a2e7f54fca16f0245de43c46
1 file changed +2 -1
test/sharness/t0165-keystore.sh
+2 -1
@@ -33,7 +33,8 @@ test_key_cmd() {
33 '
34
35 test_expect_success "key list -l contains self key with peerID" '
36 - ipfs key list -l | grep "$(ipfs config Identity.PeerID) self"
36 + PeerID="$(ipfs config Identity.PeerID)"
37 + ipfs key list -l | grep "$PeerID self"
38 '
39 }
40