diff options
author | Jonathan Davies <jpds@protonmail.com> | 2024-05-18 22:16:31 +0100 |
---|---|---|
committer | Jonathan Davies <jpds@protonmail.com> | 2024-05-18 22:24:04 +0100 |
commit | 52743c88f5af69d2f64a5de6c7144a2aae76098b (patch) | |
tree | 3a0396ed7aca9cbaf8c4c1eecb59cc7224caf8e6 /nixos/tests/step-ca.nix | |
parent | c43df0840e890ff73fd233472cdd0e197c7df4cf (diff) |
nixos/step-ca: Added test case for finding package version in journald logs
Diffstat (limited to 'nixos/tests/step-ca.nix')
-rw-r--r-- | nixos/tests/step-ca.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/tests/step-ca.nix b/nixos/tests/step-ca.nix index a855b590232dd..e46b64541acb3 100644 --- a/nixos/tests/step-ca.nix +++ b/nixos/tests/step-ca.nix @@ -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!\"") ''; |