From 52b4733f2266431c7fa2867c5f043544180c68f0 Mon Sep 17 00:00:00 2001 From: Robin Raymond Date: Sun, 8 Apr 2018 16:26:15 +0200 Subject: [PATCH] log failures --- tests/extern.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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"); }; '';