]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: forward nspawn logs to journal
authorFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 2 Sep 2022 10:43:02 +0000 (12:43 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 2 Sep 2022 20:09:29 +0000 (22:09 +0200)
Dumping everything to console slows the test quite considerably on
slower machines, so let's forward nspawn logs to the journal to still
have them available in case something goes south.

This should, hopefully, help with TEST-13 timeouts in Ubuntu CI and
maybe with CPU soft lockups in CentOS CI.

test/units/testsuite-13.sh

index 1fc3d8bee38d255c58cbca100ce1e78f1a61938a..487cc549f4db7e3143f49a99b134d263ed219aad 100755 (executable)
@@ -5,6 +5,7 @@ set -eux
 set -o pipefail
 
 export SYSTEMD_LOG_LEVEL=debug
+export SYSTEMD_LOG_TARGET=journal
 
 # check cgroup-v2
 is_v2_supported=no