]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
UBUNTU: SAUCE: kselftest/runner: avoid using timeout if timeout is disabled
authorAndrea Righi <andrea.righi@canonical.com>
Thu, 26 Mar 2020 14:56:19 +0000 (15:56 +0100)
committerAndrea Righi <andrea.righi@canonical.com>
Thu, 9 Mar 2023 14:57:21 +0000 (15:57 +0100)
commit0b6faa46d87994165706be2960c8b791700e74d6
tree648179208e4e5944239a4d087557843ca581ec2f
parent0db194773b53bb2976199f98f26a7699e7c573ed
UBUNTU: SAUCE: kselftest/runner: avoid using timeout if timeout is disabled

Avoid using /usr/bin/timeout unnecessarily if timeout is set to 0 in the
"settings" file for a specific test.

NOTE: this change prevents a syscall_restart failure in the seccomp
kselftest.

BugLink: https://bugs.launchpad.net/bugs/1870543
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
tools/testing/selftests/kselftest/runner.sh