nixos/step-ca: Added test case for finding package version in journald logs

This commit is contained in:
Jonathan Davies 2024-05-18 22:16:31 +01:00
parent c43df0840e
commit 52743c88f5
No known key found for this signature in database

View File

@ -71,6 +71,8 @@ import ./make-test-python.nix ({ pkgs, ... }:
''
catester.start()
caserver.wait_for_unit("step-ca.service")
caserver.succeed("journalctl -o cat -u step-ca.service | grep '${pkgs.step-ca.version}'")
caclient.wait_for_unit("acme-finished-caclient.target")
catester.succeed("curl https://caclient/ | grep \"Welcome to nginx!\"")
'';