mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-12-27 07:26:22 +01:00
log failures
This commit is contained in:
parent
6bc15dd52c
commit
52b4733f22
1 changed files with 4 additions and 4 deletions
|
@ -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 a new issue