]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rbd: use more recent qemu-iotests that support EL8
authorJason Dillaman <dillaman@redhat.com>
Thu, 16 Jan 2020 16:39:32 +0000 (11:39 -0500)
committerJason Dillaman <dillaman@redhat.com>
Fri, 17 Jan 2020 13:44:44 +0000 (08:44 -0500)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
qa/workunits/rbd/qemu-iotests.sh

index 1cd9c4e00c00b4ffe755e49fe179e1a75ab3dbcb..ddb63dae3b5dbde9c51870d40141b28e75d08d95 100755 (executable)
@@ -12,7 +12,7 @@ cd qemu
 if lsb_release -da 2>&1 | grep -iq 'bionic'; then
     # Bionic requires a matching test harness
     git checkout v2.11.0
-elif lsb_release -da 2>&1 | grep -iq 'xenial'; then
+elif lsb_release -da 2>&1 | grep -iqE '(xenial|linux release 8)'; then
     # Xenial requires a recent test harness
     git checkout v2.3.0
 else
@@ -36,7 +36,8 @@ else
     QEMU='/usr/libexec/qemu-kvm'
 
     # disable test 055 since qemu-kvm (RHEL/CentOS) doesn't support the
-    # required QMP commands
+    # required QMP commands under EL7 and Python 3 is not supported by
+    # the test under EL8
     testlist=$(echo ${testlist} | sed "s/ 055//g")
 fi
 ln -s $QEMU bin/qemu