kernel/selinux-testsuite: fix module_load check
The "conmakehash" program is not shipped on recent Fedora kernels (and who knows where else). Switch to "unifdef", which seems to be everywhere (and always an ELF executable). Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
This commit is contained in:
parent
fbff736aea
commit
26fd2feb94
1 changed files with 1 additions and 1 deletions
|
|
@ -354,7 +354,7 @@ rlJournalStart
|
|||
# CKI mainline kernels don't ship with module build infrastructure
|
||||
# just yet. Also, RHEL-8 CKI kernel-devel programs are
|
||||
# cross-compiled badly for alt arches, so try executing one of them.
|
||||
if ! "/lib/modules/$(uname -r)/build/scripts/conmakehash" /dev/null &>/dev/null; then
|
||||
if ! "/lib/modules/$(uname -r)/build/scripts/unifdef" /dev/null &>/dev/null; then
|
||||
exclude_tests+=" module_load"
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue