mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
nixos/step-ca: Added test case for finding package version in journald logs
This commit is contained in:
parent
c43df0840e
commit
52743c88f5
@ -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!\"")
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user