Browse Source

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 <johannes.berg@intel.com>
Johannes Berg 9 years ago
parent
commit
be9fe3d8af
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/hwsim/vm/inside.sh

+ 2 - 0
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