nixos/tests/evcc: Fail when the unit produces fatal log messages

This commit is contained in:
Martin Weinelt 2022-12-11 01:23:48 +01:00
parent fda65523fb
commit 76e962151a

View file

@ -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"):