nixos/tests/evcc: Fail when the unit produces fatal log messages
This commit is contained in:
parent
fda65523fb
commit
76e962151a
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ import ./make-test-python.nix ({ pkgs, lib, ...} :
|
|||
|
||||
with subtest("Check journal for errors"):
|
||||
_, output = machine.execute("journalctl -o cat -u evcc.service")
|
||||
assert "FATAL" not in output
|
||||
assert "ERROR" not in output
|
||||
|
||||
with subtest("Check systemd hardening"):
|
||||
|
|
Loading…
Reference in a new issue