"platform:el10" could be appended to the grep pattern for v2.11.0 but
we no longer test on any distro needing v2.3.0 or v2.2.0-rc3.
Fixes: https://tracker.ceph.com/issues/74671
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
git clone https://github.com/qemu/qemu.git
cd qemu
-
-if grep -iqE '(bionic|focal|jammy|platform:el9)' /etc/os-release; then
- git checkout v2.11.0
-elif grep -iqE '(xenial|platform:el8)' /etc/os-release; then
- git checkout v2.3.0
-else
- # use v2.2.0-rc3 (last released version that handles all the tests
- git checkout 2528043f1f299e0e88cb026f1ca7c40bbb4e1f80
-fi
+git checkout v2.11.0
cd tests/qemu-iotests
# qemu-iotests expects a binary called just 'qemu' to be available