From: Johannes Berg Date: Fri, 27 Nov 2015 13:12:14 +0000 (+0100) Subject: tests: vm: Output everything on console X-Git-Tag: hostap_2_6~1101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be9fe3d8aff394ea6868f1a2347e8c12609b086e;p=thirdparty%2Fhostap.git 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 --- 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