diff --git a/tests/zfs-tests/tests/functional/io/io_uring.ksh b/tests/zfs-tests/tests/functional/io/io_uring.ksh index 2fa1465563..f14b9f4508 100755 --- a/tests/zfs-tests/tests/functional/io/io_uring.ksh +++ b/tests/zfs-tests/tests/functional/io/io_uring.ksh @@ -41,13 +41,13 @@ verify_runnable "global" if ! $(grep -q "CONFIG_IO_URING=y" /boot/config-$(uname -r)); then - log_unsupported "Requires io_uring support" + log_unsupported "Requires io_uring support within Kernel" fi if [ -e /etc/os-release ] ; then source /etc/os-release - if [ -n "$REDHAT_SUPPORT_PRODUCT_VERSION" ] && ((floor($REDHAT_SUPPORT_PRODUCT_VERSION) == 9)) ; then - log_unsupported "Disabled on CentOS 9, fails with 'Operation not permitted'" + if [ $PLATFORM_ID = "platform:el9" ]; then + log_unsupported "Disabled on RHEL 9 variants: fails with 'Operation not permitted'" fi fi