]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Maipo should also use the local qemu clone 3831/head
authorLoic Dachary <ldachary@redhat.com>
Sat, 28 Feb 2015 00:18:38 +0000 (01:18 +0100)
committerLoic Dachary <ldachary@redhat.com>
Sat, 28 Feb 2015 00:20:05 +0000 (01:20 +0100)
http://tracker.ceph.com/issues/10975 Fixes: #10975

Signed-off-by: Loic Dachary <loic@dachary.org>
qa/workunits/rbd/qemu-iotests.sh

index c453743782892f709b8dab814308eb7c3ea37946..1ab6a401bbaccc02d67f9d688ba4ded6b52be944 100755 (executable)
@@ -8,19 +8,17 @@
 # This will only work with particular qemu versions, like 1.0. Later
 # versions of qemu include qemu-iotests directly in the qemu
 # repository.
-codevers=`lsb_release -sc`
-iotests=qemu-iotests
 testlist='001 002 003 004 005 008 009 010 011 021 025'
 
 # See if we need to use the iotests suites in qemu (newer version).
-# Right now, trusty is the only version that uses this.
-for chkcode in "trusty"
-do
-    if [ "$chkcode" = "$codevers" ]
-    then
+case `lsb_release -sc` in
+    trusty|Maipo)
         iotests=qemu/tests/qemu-iotests
-    fi
-done
+        ;;
+    *)
+        iotests=qemu-iotests
+        ;;
+esac
 
 if [ "$iotests" = "qemu/tests/qemu-iotests" ]
 then