Add test for #94

Ensure that no warnings or errors are in the journal
This commit is contained in:
Robert Schütz 2018-03-03 11:20:28 +01:00 committed by Robert Schütz
parent 95dad50dcb
commit 23d06c9665

View file

@ -249,5 +249,12 @@ import <nixpkgs/nixos/tests/make-test.nix> {
}; };
subtest "no warnings or errors", sub {
$server->fail("journalctl -u postfix | grep -i error");
$server->fail("journalctl -u postfix | grep -i warning");
$server->fail("journalctl -u dovecot2 | grep -i error");
$server->fail("journalctl -u dovecot2 | grep -i warning");
};
''; '';
} }