summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Raymond <robin@robinraymond.de>2018-04-08 16:26:15 +0200
committerRobin Raymond <robin@robinraymond.de>2018-04-08 16:26:15 +0200
commit52b4733f2266431c7fa2867c5f043544180c68f0 (patch)
tree1f28de0b914cd52c388cff00eb2f5c4842e17ac2 /tests
parent6bc15dd52c6c02d4105bd14d15260ab0a281fb91 (diff)
log failures
Diffstat (limited to 'tests')
-rw-r--r--tests/extern.nix8
1 files 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 <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");
};
'';