]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Print higher debug level on console
authorJohannes Berg <johannes.berg@intel.com>
Tue, 30 May 2017 14:29:56 +0000 (16:29 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 8 Jul 2017 12:19:24 +0000 (15:19 +0300)
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 <johannes.berg@intel.com>
tests/hwsim/vm/inside.sh

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