Message ID | 1448629934-30526-1-git-send-email-johannes@sipsolutions.net |
---|---|
State | Accepted |
Headers | show |
On Fri, Nov 27, 2015 at 02:12:14PM +0100, Johannes Berg wrote: > When running tests, make printk put all messages, including debug > messages, onto the serial console to go into the console file. Thanks, applied. For some reason, this was making lots of test cases fail frequently when I first tested this, but in any case, I cannot reproduce this anymore. I'm not sure what removed the issue, but I think that both kvm and kernel versions used for the VM have changed since my initials tests.
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