test: show saved journal files after TEST-02-UNITTESTS
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 27 Nov 2023 00:42:15 +0000 (09:42 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 27 Nov 2023 19:10:25 +0000 (04:10 +0900)
test/test-functions

index b054892..556346d 100644 (file)
@@ -1929,6 +1929,7 @@ check_result_nspawn_unittests() {
     check_coverage_reports "$workspace" || ret=5
 
     save_journal "$workspace/var/log/journal" $ret
+    echo "${JOURNAL_LIST:-"No journals were saved"}"
 
     _umount_dir "${initdir:?}"
 
@@ -1962,6 +1963,7 @@ check_result_qemu_unittests() {
     check_coverage_reports "$initdir" || ret=5
 
     save_journal "$initdir/var/log/journal" $ret
+    echo "${JOURNAL_LIST:-"No journals were saved"}"
 
     _umount_dir "$initdir"