From: Johannes Berg Date: Tue, 30 May 2017 14:29:56 +0000 (+0200) Subject: tests: Print higher debug level on console X-Git-Tag: hostap_2_7~1205 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=100d334f43d6bc314d3b975be674d5de35a763d2;p=thirdparty%2Fhostap.git tests: Print higher debug level on console We capture the dmesg that contains everything, but if a test causes a kernel crash we will miss all logging at higher levels like debug. Change the printk level to catch all of that too. Signed-off-by: Johannes Berg --- diff --git a/tests/hwsim/vm/inside.sh b/tests/hwsim/vm/inside.sh index 3cbfe1081..30b938712 100755 --- a/tests/hwsim/vm/inside.sh +++ b/tests/hwsim/vm/inside.sh @@ -90,6 +90,8 @@ if [ "$TIMEWARP" = "1" ] ; then ) & fi +echo 8 8 8 8 > /proc/sys/kernel/printk + # check if we're rebooting due to a kernel panic ... if grep -q 'Kernel panic' /tmp/logs/console ; then echo "KERNEL CRASHED!" >/dev/ttyS0