]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: vm: Output everything on console
authorJohannes Berg <johannes.berg@intel.com>
Fri, 27 Nov 2015 13:12:14 +0000 (14:12 +0100)
committerJouni Malinen <j@w1.fi>
Thu, 24 Dec 2015 19:27:24 +0000 (21:27 +0200)
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>
tests/hwsim/vm/inside.sh

index 3cbfe10810f2c6dea71ff01e6eba4f9b270c4b52..8112ab4b216f2c5eb123cbee10af2414c7c1c2dd 100755 (executable)
@@ -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