[PATCH] tests: vm: output everything on console
Johannes Berg
johannes at sipsolutions.net
Fri Nov 27 05:12:14 PST 2015
From: Johannes Berg <johannes.berg at intel.com>
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 <johannes.berg at intel.com>
---
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 60398081317c..a060bc5dc11e 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
--
2.6.2
More information about the Hostap
mailing list