about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2022-12-11 01:23:48 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-12-11 01:25:13 +0100
commit76e962151ae9dc0660f343afae782a8b6df3b102 (patch)
tree1f4f07088753437721966e27c9ffbd398dbb308e /nixos/tests
parentfda65523fbb8dd7ef4a2eba4d39f88ce19245713 (diff)
nixos/tests/evcc: Fail when the unit produces fatal log messages
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/evcc.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/evcc.nix b/nixos/tests/evcc.nix
index 0fc261142f787..c223977a9d827 100644
--- a/nixos/tests/evcc.nix
+++ b/nixos/tests/evcc.nix
@@ -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"):