]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
selftest/firmware: Add selftest timeout in settings
authorKees Cook <keescook@chromium.org>
Fri, 24 Jul 2020 21:36:23 +0000 (14:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jul 2020 10:05:20 +0000 (12:05 +0200)
commit4505e2154e8f3896da5ba63818082746b3026c59
treefc44bcb3cc7bcb3dca484f4f72b0a5209f1c484c
parent2d38dbf89a06d0f689daec9842c5d3295c49777f
selftest/firmware: Add selftest timeout in settings

The firmware tests would always time out for me. Add a correct timeout,
including details on how the value was reached. Additionally allow the
test harness to skip comments in settings files and report how long a
given timeout was.

Reviewed-by: SeongJae Park <sjpark@amazon.de>
Acked-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20200724213640.389191-3-keescook@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/firmware/settings [new file with mode: 0644]
tools/testing/selftests/kselftest/runner.sh