about summary refs log tree commit diff
path: root/nixos
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
parentfda65523fbb8dd7ef4a2eba4d39f88ce19245713 (diff)
downloadnixlib-76e962151ae9dc0660f343afae782a8b6df3b102.tar
nixlib-76e962151ae9dc0660f343afae782a8b6df3b102.tar.gz
nixlib-76e962151ae9dc0660f343afae782a8b6df3b102.tar.bz2
nixlib-76e962151ae9dc0660f343afae782a8b6df3b102.tar.lz
nixlib-76e962151ae9dc0660f343afae782a8b6df3b102.tar.xz
nixlib-76e962151ae9dc0660f343afae782a8b6df3b102.tar.zst
nixlib-76e962151ae9dc0660f343afae782a8b6df3b102.zip
nixos/tests/evcc: Fail when the unit produces fatal log messages
Diffstat (limited to 'nixos')
-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 0fc261142f78..c223977a9d82 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"):