summaryrefslogtreecommitdiff
path: root/test/test-functions
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-04-25 14:20:57 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-05-08 20:27:34 -0400
commit61b480b68bdfff8c88800149a035c281b7bbbc71 (patch)
tree804b52124aba054fd78e40699cd1612530aaa881 /test/test-functions
parente14b866bc15f30ea88fc084050e1963bb6312f72 (diff)
tests: enable logging for pid1, disable for other systemd services
systemd-udev generated an insane amount of log output at debug level. It would break TEST-02-CRYPTSETUP by filling the overflowing the disk (which seems to be a bug in itself!).
Diffstat (limited to 'test/test-functions')
-rw-r--r--test/test-functions4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test-functions b/test/test-functions
index be954d0fe8..e2e07a833c 100644
--- a/test/test-functions
+++ b/test/test-functions
@@ -64,7 +64,6 @@ run_qemu() {
find_qemu_bin || return 1
KERNEL_APPEND="root=/dev/sda1 \
-systemd.log_level=debug \
raid=noautodetect \
loglevel=2 \
init=$ROOTLIBDIR/systemd \
@@ -245,6 +244,9 @@ install_systemd() {
# we strip binaries since debug symbols increase binaries size a lot
# and it could fill the available space
strip_binaries
+
+ # enable debug logging in PID1
+ echo LogLevel=debug >> $initdir/etc/systemd/system.conf
}
install_missing_libraries() {