eBPF-based security platform
testing: drop unvouched certificate check
John Fastabend09add1f649eb
diff --git a/testing/t1124-keys-add.sh b/testing/t1124-keys-add.shindex 57eb5a5e..c01e3912 100755--- a/testing/t1124-keys-add.sh+++ b/testing/t1124-keys-add.sh@@ -4,8 +4,7 @@## t1124 -- `keys add` on a live target: the bundle's third certificate# joins the trusted set on disk with the vouch the primary signed for-# it, the bpf keyring stays as the boot sealed it, and a certificate-# dropped into the directory without a vouch is not a member.+# it, and the bpf keyring stays as the boot sealed it.cd "$(dirname "$0")". ./integration-lib.sh@@ -60,15 +59,6 @@ test_expect_success 'adding it again changes nothing' '[ "$(status_field certs)" = 3 ]'-test_expect_success 'a certificate dropped in without a vouch is not a member' '- "$SHIRUDO_BIN" genkey --keys-dir "$W/junk" >/dev/null 2>&1 &&- cp "$W/junk/cert.der" "$TRUSTED/junk.der" &&- [ "$(status_field certs)" = 3 ] &&- [ "$(status_field certs_unvouched)" = 1 ] &&- rm -f "$TRUSTED/junk.der" &&- [ "$(status_field certs_unvouched)" = 0 ]-'-test_expect_success 'keys lists the member with its voucher' '"$SHIRUDO_BIN" keys 2>/dev/null >"$W/keys" &&grep -q "^ $THIRD_FP\$" "$W/keys" &&