From f02a3fef82fc338a2264e69bb287d036abf5c682 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Thu, 25 Feb 2021 14:12:39 -0800 Subject: [PATCH 1/3] ci: install netstat --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5374299a904..47db019fdd8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -129,7 +129,7 @@ jobs: GOPATH: /home/circleci/go TEST_VERBOSE: 1 steps: - - run: sudo apt install socat + - run: sudo apt install socat net-tools - checkout - run: From 6a13d8614821d87f3a074ab7745559d69e93318f Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Thu, 25 Feb 2021 14:12:56 -0800 Subject: [PATCH 2/3] test(sharness): correctly use test_must_fail --- test/sharness/t0165-keystore.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 From 88831814d012c65bfc7ed841e25c8bc5e94eb9fe Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Thu, 25 Feb 2021 16:16:03 -0800 Subject: [PATCH 3/3] ci: update before install --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 47db019fdd8..8891a342da8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -129,6 +129,7 @@ jobs: GOPATH: /home/circleci/go TEST_VERBOSE: 1 steps: + - run: sudo apt update - run: sudo apt install socat net-tools - checkout