Files
linuxkit/test/cases/020_kernel/000_config_4.4.x/test.sh
Rolf Neugebauer 2396d91cd8 tests: Adjust kernel tests for arm64
- 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>
2017-12-12 23:34:57 +00:00

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