mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-09 11:58:16 +00:00
This test, at least for now, only checks whether the runtimeclasses
have been properly created.
This is just a migration from a test we had as part of the k8s suite.
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
(cherry picked from commit 4ffc2c86f3
)
26 lines
477 B
Bash
26 lines
477 B
Bash
#!/bin/bash
|
|
#
|
|
# Copyright (c) 2023 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
set -e
|
|
|
|
kata_deploy_dir=$(dirname "$(readlink -f "$0")")
|
|
source "${kata_deploy_dir}/../../common.bash"
|
|
|
|
if [ -n "${KATA_DEPLOY_TEST_UNION:-}" ]; then
|
|
KATA_DEPLOY_TEST_UNION=($KATA_DEPLOY_TEST_UNION)
|
|
else
|
|
KATA_DEPLOY_TEST_UNION=( \
|
|
"kata-deploy.bats" \
|
|
)
|
|
fi
|
|
|
|
info "Run tests"
|
|
for KATA_DEPLOY_TEST_ENTRY in ${KATA_DEPLOY_TEST_UNION[@]}
|
|
do
|
|
bats "${KATA_DEPLOY_TEST_ENTRY}"
|
|
done
|