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
1 changed files with 7 additions and 0 deletions

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");
};
'';
}