From 77e70beff33d89f30082f3e5d513cd657fa529ea Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Wed, 18 Feb 2026 22:17:30 +0100 Subject: Add download-cert client operation with integration test Retrieves the server's DER certificate via GetEndpoints and writes it to a local file. The test starts a secure ServerLDS, downloads its certificate, and verifies it matches the original. --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 78b8711..5b117b6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,3 +78,9 @@ foreach(_name _policy IN ZIP_LISTS _test_names _test_policies) set_tests_properties("${_name}" PROPERTIES WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" TIMEOUT 30) endforeach() + +add_test(NAME "download_cert" + COMMAND bash "${CMAKE_SOURCE_DIR}/tests/run_download_cert_test.sh" + "tests/secure_anonymous") +set_tests_properties( + "download_cert" PROPERTIES WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}" TIMEOUT 30) -- cgit v1.2.3