Skip to content
Commit 54ee3526 authored by Marcos Paulo de Souza's avatar Marcos Paulo de Souza Committed by Shuah Khan
Browse files

selftests: livepatch: Avoid running the tests if kernel-devel is missing



By checking if KDIR is a valid directory we can safely skip the tests if
kernel-devel isn't installed (default value of KDIR), or if KDIR
variable passed doesn't exists.

Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202402191417.XULH88Ct-lkp@intel.com/


Signed-off-by: default avatarMarcos Paulo de Souza <mpdesouza@suse.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent 8ab37b0d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment