aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-05-30 14:29:56 (GMT)
committerJouni Malinen <j@w1.fi>2017-07-08 12:19:24 (GMT)
commit100d334f43d6bc314d3b975be674d5de35a763d2 (patch)
treeeaecc67a172954a0b77663a67b59156f82656688 /tests
parenta95d5fdbe151dfedae4ab56a84ea9764a451c51b (diff)
downloadhostap-100d334f43d6bc314d3b975be674d5de35a763d2.zip
hostap-100d334f43d6bc314d3b975be674d5de35a763d2.tar.gz
hostap-100d334f43d6bc314d3b975be674d5de35a763d2.tar.bz2
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 <johannes.berg@intel.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/hwsim/vm/inside.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/hwsim/vm/inside.sh b/tests/hwsim/vm/inside.sh
index 3cbfe10..30b9387 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