Skip to content

Commit ba7864e

Browse files
committed
tests: Send systemd journal to console
This will aid debugging of test issues especially those for critical services during the boot. Signed-off-by: Rob Bradford <[email protected]>
1 parent 5881809 commit ba7864e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/integration.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ mod tests {
9797
#[cfg(target_arch = "x86_64")]
9898
const FOCAL_IMAGE_NAME_QCOW2: &str = "focal-server-cloudimg-amd64-custom-20210106-1.qcow2";
9999

100-
const DIRECT_KERNEL_BOOT_CMDLINE: &str = "root=/dev/vda1 console=hvc0 rw";
100+
const DIRECT_KERNEL_BOOT_CMDLINE: &str =
101+
"root=/dev/vda1 console=hvc0 rw systemd.journald.forward_to_console=1";
101102

102103
const PIPE_SIZE: i32 = 32 << 20;
103104

0 commit comments

Comments
 (0)