diff --git a/.circleci/config.yml b/.circleci/config.yml index 5374299a904..8891a342da8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -129,7 +129,8 @@ jobs: GOPATH: /home/circleci/go TEST_VERBOSE: 1 steps: - - run: sudo apt install socat + - run: sudo apt update + - run: sudo apt install socat net-tools - checkout - run: diff --git a/test/sharness/t0165-keystore.sh b/test/sharness/t0165-keystore.sh index 0bbbe91aca5..b3ae12fefd7 100755 --- a/test/sharness/t0165-keystore.sh +++ b/test/sharness/t0165-keystore.sh @@ -175,12 +175,12 @@ ipfs key rm key_ed25519 test_cmp rsa_key_id roundtrip_rsa_key_id ' - test_must_fail "online export rsa key" ' - ipfs key export generated_rsa_key + test_expect_success "online export rsa key" ' + test_must_fail ipfs key export generated_rsa_key ' - test_must_fail "online rotate rsa key" ' - ipfs key rotate + test_expect_success "online rotate rsa key" ' + test_must_fail ipfs key rotate ' test_kill_ipfs_daemon