mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-11-11 19:39:16 +05:00
log failures
This commit is contained in:
parent
6bc15dd52c
commit
52b4733f22
@ -306,10 +306,10 @@ 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");
|
||||
$server->fail("journalctl -u postfix | grep -i error >&2");
|
||||
$server->fail("journalctl -u postfix | grep -i warning >&2");
|
||||
$server->fail("journalctl -u dovecot2 | grep -i error >&2");
|
||||
$server->fail("journalctl -u dovecot2 | grep -i warning >&2");
|
||||
};
|
||||
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user