test(sharness): correctly use test_must_fail
Steven Allen committed
Feb 25, 2021 at 14:12 UTC
6a13d8614821d87f3a074ab7745559d69e93318f
1 file changed
+4
-4
test/sharness/t0165-keystore.sh
+4
-4
@@ -175,12 +175,12 @@ ipfs key rm key_ed25519
175
test_cmp rsa_key_id roundtrip_rsa_key_id
176
'
177
178
- test_must_fail "online export rsa key" '
179
- ipfs key export generated_rsa_key
178
+ test_expect_success "online export rsa key" '
179
+ test_must_fail ipfs key export generated_rsa_key
180
'
181
182
- test_must_fail "online rotate rsa key" '
183
- ipfs key rotate
182
+ test_expect_success "online rotate rsa key" '
183
+ test_must_fail ipfs key rotate
184
'
185
186
test_kill_ipfs_daemon