summaryrefslogtreecommitdiff
path: root/test/test-functions
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-functions')
-rw-r--r--test/test-functions6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test-functions b/test/test-functions
index bf21c6312f..3f5d8df966 100644
--- a/test/test-functions
+++ b/test/test-functions
@@ -801,6 +801,12 @@ save_journal() {
/usr/lib/systemd/systemd-journal-remote \
-o $dest \
--getter="journalctl -o export -D $j"
+
+ if [ -n "${TEST_SHOW_JOURNAL}" ]; then
+ echo "---- $j ----"
+ journalctl --no-pager -o short-monotonic --no-hostname --priority=${TEST_SHOW_JOURNAL} -D $j
+ fi
+
rm -r $j
done