From be9fe3d8aff394ea6868f1a2347e8c12609b086e Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Fri, 27 Nov 2015 14:12:14 +0100 Subject: [PATCH] tests: vm: Output everything on console When running tests, make printk put all messages, including debug messages, onto the serial console to go into the console file. Signed-off-by: Johannes Berg --- tests/hwsim/vm/inside.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/hwsim/vm/inside.sh b/tests/hwsim/vm/inside.sh index 3cbfe1081..8112ab4b2 100755 --- a/tests/hwsim/vm/inside.sh +++ b/tests/hwsim/vm/inside.sh @@ -14,6 +14,8 @@ mount debugfs -t debugfs /sys/kernel/debug export PATH=/usr/sbin:$PATH +echo 8 8 8 8 > /proc/sys/kernel/printk + # reboot on any sort of crash sysctl kernel.panic_on_oops=1 sysctl kernel.panic=1