1
0
mirror of https://github.com/coreos/fedora-coreos-config.git synced 2026-02-05 09:45:30 +01:00
Files
fedora-coreos-config/tests/kola/files/kernel-headers

17 lines
428 B
Bash
Executable File

#!/bin/bash
## kola:
## exclusive: false
# check that we are not including the kernel headers on the host
# See:
# - https://bugzilla.redhat.com/show_bug.cgi?id=1814719
# - https://gitlab.cee.redhat.com/coreos/redhat-coreos/-/merge_requests/1116
set -xeuo pipefail
. $KOLA_EXT_DATA/commonlib.sh
if test -d /usr/include/linux; then
fatal "Error: should not have kernel headers on host"
fi
ok "kernel headers not on host"