From: Frantisek Sumsal Date: Mon, 12 Aug 2019 22:14:54 +0000 (+0200) Subject: test: store coredumps in journal X-Git-Tag: v243-rc2~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=215bffe1b8d7cb72fe9f72ed53682d52d5c2a9c5;p=thirdparty%2Fsystemd.git test: store coredumps in journal To make debugging much easier, especially for crashes in tests under QEMU, let's store the entire coredump bundle in the systemd journal, which is usually kept around by various CIs. Right now, we usually end up with a journal, but without the coredump itself, which is pretty useless. --- diff --git a/test/test-functions b/test/test-functions index 6523db01b96..58685526c28 100644 --- a/test/test-functions +++ b/test/test-functions @@ -516,6 +516,8 @@ install_systemd() { # enable debug logging in PID1 echo LogLevel=debug >> $initdir/etc/systemd/system.conf + # store coredumps in journal + echo Storage=journal >> $initdir/etc/systemd/coredump.conf } get_ldpath() {