tests: Update image_tests
This commit is contained in:
parent
4b48c194a3
commit
e9c0f45bf7
1 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ fi
|
||||||
|
|
||||||
# Skip 'selinux/contect-mismatch' part of the image-info report on RHEL-8.
|
# Skip 'selinux/contect-mismatch' part of the image-info report on RHEL-8.
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1973754
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1973754
|
||||||
if [[ "${DISTRO_CODE}" =~ "rhel-8" ]]; then
|
if [[ "${DISTRO_CODE}" =~ "rhel-84" ]]; then
|
||||||
IMAGE_TEST_CASE_RUNNER="${IMAGE_TEST_CASE_RUNNER} -skip-selinux-ctx-check"
|
IMAGE_TEST_CASE_RUNNER="${IMAGE_TEST_CASE_RUNNER} -skip-selinux-ctx-check"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -36,7 +36,7 @@ test_divider () {
|
||||||
|
|
||||||
# Get a list of test cases.
|
# Get a list of test cases.
|
||||||
get_test_cases () {
|
get_test_cases () {
|
||||||
TEST_CASE_SELECTOR="${DISTRO_CODE}-${ARCH}"
|
TEST_CASE_SELECTOR="${DISTRO_CODE/-/_}-${ARCH}"
|
||||||
pushd $IMAGE_TEST_CASES_PATH > /dev/null
|
pushd $IMAGE_TEST_CASES_PATH > /dev/null
|
||||||
ls "$TEST_CASE_SELECTOR"*.json
|
ls "$TEST_CASE_SELECTOR"*.json
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue