]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: add HTTPS upload test for systemd-report
authorZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Tue, 7 Apr 2026 12:34:53 +0000 (14:34 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Thu, 16 Apr 2026 19:12:20 +0000 (21:12 +0200)
commitb7ac32c2c38af30e27bb754cfce899a66209514d
treeef76e84b59cfb0d043d93cb93f6391f6832a2d82
parent0f3bd778e03965c11d6b67f33c8d030576cb2b0a
test: add HTTPS upload test for systemd-report

Extend fake-report-server.py with optional --cert, --key, --port
arguments for TLS support. Add a test case that generates a
self-signed certificate and tests HTTPS upload of metrics and facts.

Also exercise the --header param.

Co-developed-by: Claude Opus 4.6 <noreply@anthropic.com>
test/integration-tests/TEST-74-AUX-UTILS/TEST-74-AUX-UTILS.units/fake-report-server.py
test/units/TEST-74-AUX-UTILS.report.sh