Skip to content

Commit 6342e48

Browse files
amesgencpu
authored andcommittedApr 19, 2024·
tests: connect to example.com via platform verifier
1 parent 8db08e3 commit 6342e48

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed
 

‎.github/workflows/test.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ jobs:
4444
- env:
4545
CARGO_UNSTABLE_HTTP_REGISTRY: true
4646
run: make CC=${{ matrix.cc }} PROFILE=release test integration
47+
- name: Platform verifier connect test
48+
run: make connect-test
4749

4850
valgrind:
4951
name: Valgrind

‎Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ test: all
3434
integration: all
3535
${CARGO} test ${CARGOFLAGS} -- --ignored
3636

37+
connect-test: target/client
38+
RUSTLS_PLATFORM_VERIFIER=1 target/client example.com 443 /
39+
3740
target:
3841
mkdir -p $@
3942

0 commit comments

Comments
 (0)
Please sign in to comment.