From 4d65d5a79f83d5ec76554127175d1e122eaaad8b Mon Sep 17 00:00:00 2001 From: amesgen Date: Sat, 13 Apr 2024 22:24:15 +0200 Subject: [PATCH] tests: connect to example.com via platform verifier --- .github/workflows/test.yaml | 2 ++ Makefile | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f2048b58..a2babf2c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -44,6 +44,8 @@ jobs: - env: CARGO_UNSTABLE_HTTP_REGISTRY: true run: make CC=${{ matrix.cc }} PROFILE=release test integration + - name: Platform verifier connect test + run: make connect-test valgrind: name: Valgrind diff --git a/Makefile b/Makefile index 1ae8e3df..ed373a57 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,9 @@ test: all integration: all ${CARGO} test --locked -- --ignored +connect-test: target/client + RUSTLS_PLATFORM_VERIFIER=1 target/client example.com 443 / + target: mkdir -p $@