Skip to content

Commit

Permalink
tests: connect to example.com via platform verifier
Browse files Browse the repository at this point in the history
  • Loading branch information
amesgen authored and cpu committed Apr 19, 2024
1 parent 8db08e3 commit 6342e48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ test: all
integration: all
${CARGO} test ${CARGOFLAGS} -- --ignored

connect-test: target/client
RUSTLS_PLATFORM_VERIFIER=1 target/client example.com 443 /

target:
mkdir -p $@

Expand Down

0 comments on commit 6342e48

Please sign in to comment.