diff --git a/tests/kola/misc-ro/misc-ro.sh b/tests/kola/misc-ro/misc-ro.sh index 8d9f10cad..aba787e56 100755 --- a/tests/kola/misc-ro/misc-ro.sh +++ b/tests/kola/misc-ro/misc-ro.sh @@ -139,3 +139,8 @@ if ! test -f /usr/sbin/dhclient; then fatal "Missing dhclient binary" fi echo "ok dhclient binary 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