mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
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>
This commit is contained in:
parent
a95d5fdbe1
commit
100d334f43
@ -90,6 +90,8 @@ if [ "$TIMEWARP" = "1" ] ; then
|
|||||||
) &
|
) &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo 8 8 8 8 > /proc/sys/kernel/printk
|
||||||
|
|
||||||
# check if we're rebooting due to a kernel panic ...
|
# check if we're rebooting due to a kernel panic ...
|
||||||
if grep -q 'Kernel panic' /tmp/logs/console ; then
|
if grep -q 'Kernel panic' /tmp/logs/console ; then
|
||||||
echo "KERNEL CRASHED!" >/dev/ttyS0
|
echo "KERNEL CRASHED!" >/dev/ttyS0
|
||||||
|
Loading…
Reference in New Issue
Block a user