diff --git a/tests/kola/misc-ro/misc-ro.sh b/tests/kola/misc-ro/misc-ro.sh index 38f1ac1c4..92b2921d0 100755 --- a/tests/kola/misc-ro/misc-ro.sh +++ b/tests/kola/misc-ro/misc-ro.sh @@ -161,3 +161,9 @@ if test -f /usr/lib/systemd/system/console-login-helper-messages-issuegen.servic fi fi echo "ok console-login-helper-messages presets present" + +# Check that rhaos packages do not match the OpenShift version +if [[ $(rpm -qa | grep rhaos | grep -v $OPENSHIFT_VERSION) ]]; then + fatal "Error: rhaos packages do not match OpenShift version" +fi +