diff --git a/testcases/cli-test/pcs/oe_test_service_pcsd.sh b/testcases/cli-test/pcs/oe_test_service_pcsd.sh index d86a2dc821c711e38979d933c4b8110a6256d79d..df48fe83230df647bb59ec0f910853b885eecb25 100644 --- a/testcases/cli-test/pcs/oe_test_service_pcsd.sh +++ b/testcases/cli-test/pcs/oe_test_service_pcsd.sh @@ -21,6 +21,14 @@ source "../common/common_lib.sh" function pre_test() { LOG_INFO "Start environmental preparation." + rpm -qi cyrus-sasl &>/dev/null + if [ $? -eq 0 ]; then + echo "cyrus-sasl is installed, proceeding with uninstallation" + yum remove cyrus-sasl -y + echo "cyrus-sasl successfully uninstalled" + else + echo "cyrus-sasl is not installed, no need to uninstall" + fi DNF_INSTALL pcs LOG_INFO "End of environmental preparation!" }