mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-10 17:38:14 +00:00
Removed LTP tests and the stress test group as hey weren't run via rtf. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
24 lines
488 B
Bash
24 lines
488 B
Bash
#!/bin/sh
|
|
# SUMMARY: Sanity check on the kernel config file
|
|
# LABELS:
|
|
# REPEAT:
|
|
# AUTHOR: Dave Tucker <dt@docker.com>
|
|
|
|
set -e
|
|
|
|
# Source libraries. Uncomment if needed/defined
|
|
#. "${RT_LIB}"
|
|
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
|
|
|
clean_up() {
|
|
find . -iname "test-kernel-config*" -not -iname "*.yml" -exec rm -rf {} \;
|
|
}
|
|
trap clean_up EXIT
|
|
|
|
# Test code goes here
|
|
moby build test-kernel-config
|
|
RESULT="$(linuxkit run qemu test-kernel-config)"
|
|
echo "${RESULT}" | grep -q "suite PASSED"
|
|
|
|
exit 0
|