selftests/kexec: update searching for the Kconfig
authorMimi Zohar <zohar@linux.ibm.com>
Fri, 3 Dec 2021 15:20:42 +0000 (10:20 -0500)
committerMimi Zohar <zohar@linux.ibm.com>
Fri, 31 Dec 2021 18:16:13 +0000 (13:16 -0500)
commit9be6dc8059bb235ffb0666690a26c0df15cc6d9e
tree50d4492062987d7a5f99b295771f74e4070c790a
parentcef5cd25a453805237f0c4e789218d987d674290
selftests/kexec: update searching for the Kconfig

First check /lib/modules/`uname -r`/config, before using the IKCONFIG.
In addition, the configs.ko might be compressed.  Fix the configs.ko
name.

Reviewed-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
tools/testing/selftests/kexec/kexec_common_lib.sh