mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
nixos/step-ca: Added test case for finding package version in journald logs
This commit is contained in:
parent
c43df0840e
commit
52743c88f5
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue