diff --git a/tests/unit-tests/run-unit-tests.sh b/tests/unit-tests/run-unit-tests.sh index b2400b2..16bc449 100755 --- a/tests/unit-tests/run-unit-tests.sh +++ b/tests/unit-tests/run-unit-tests.sh @@ -45,6 +45,12 @@ if ([ "${ID}" == "rhel" ] || [ "${ID}" == "centos" ]) && [ "${VERSION_ID%%.*}" = TEST_SELECTION_EXPR="${TEST_SELECTION_EXPR} and not (TestStages and test_qemu)" fi +if ([ "${ID}" == "rhel" ] || [ "${ID}" == "centos" ]) && [ "${VERSION_ID%%.*}" == "10" ]; then + # tomli_w package has been remowed so writin TOML config will fail + TEST_SELECTION_EXPR="${TEST_SELECTION_EXPR} and not (test_write_read)" +fi + + # Move to the directory with sources cd "${TMT_SOURCE_DIR}"