diff --git a/tests/extern.nix b/tests/extern.nix index 9aea6a5..86a4750 100644 --- a/tests/extern.nix +++ b/tests/extern.nix @@ -306,10 +306,10 @@ import { }; 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"); }; '';