mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-24 22:44:47 +00:00
- Disable kernel config tests on arm64 as some are x86_64 specific: https://github.com/linuxkit/linuxkit/issues/2807 - Add arm64 console to tests Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
26 lines
499 B
Bash
26 lines
499 B
Bash
#!/bin/sh
|
|
# SUMMARY: Sanity check on the kernel config file
|
|
# disabled for arm64: https://github.com/linuxkit/linuxkit/issues/2807
|
|
# LABELS: amd64
|
|
# REPEAT:
|
|
|
|
set -e
|
|
|
|
# Source libraries. Uncomment if needed/defined
|
|
#. "${RT_LIB}"
|
|
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
|
|
|
NAME=kconfig
|
|
|
|
clean_up() {
|
|
rm -rf ${NAME}-*
|
|
}
|
|
trap clean_up EXIT
|
|
|
|
# Test code goes here
|
|
linuxkit build -format kernel+initrd -name "${NAME}" test.yml
|
|
RESULT="$(linuxkit run ${NAME})"
|
|
echo "${RESULT}" | grep -q "suite PASSED"
|
|
|
|
exit 0
|