Skip to content

Commit

Permalink
tests: print headers for client/server test types
Browse files Browse the repository at this point in the history
  • Loading branch information
cpu committed Oct 2, 2023
1 parent 2e20de9 commit 2dd24a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/client-server.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,15 @@ def main():
sys.exit(1)

# Standard client/server tests.
print("\n### Standard client/server tests\n")
server_popen = run_server(server, valgrind, {})
wait_tcp_port(HOST, PORT)
run_client_tests(client, valgrind)
server_popen.kill()
server_popen.wait()

# Client/server tests w/ vectored I/O.
print("\n### Vectored I/O client/server tests\n")
server_popen = run_server(server, valgrind, {
"VECTORED_IO": ""
})
Expand All @@ -216,6 +218,7 @@ def main():
server_popen.wait()

# Client/server tests w/ mandatory client authentication.
print("\n### Mandatory mTLS client/server tests\n")
server_popen = run_server(server, valgrind, {
"AUTH_CERT": "testdata/minica.pem",
})
Expand All @@ -225,6 +228,7 @@ def main():
server_popen.wait()

# Client/server tests w/ mandatory client authentication & CRL.
print("\n### Mandatory mTLS w/ CRLs client/server tests\n")
run_server(server, valgrind, {
"AUTH_CERT": "testdata/minica.pem",
"AUTH_CRL": "testdata/test.crl.pem",
Expand Down

0 comments on commit 2dd24a5

Please sign in to comment.