mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-28 00:07:16 +00:00
He were fixing the few warnings we found in the files present in the functional tests for kata-deploy. Signed-off-by: Fabiano Fidêncio <fabiano@fidencio.org>
26 lines
516 B
Bash
26 lines
516 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 --show-output-of-passing-tests "${KATA_DEPLOY_TEST_ENTRY}"
|
|
done
|