From a23b34897993acdad53f1988f46e9a280872ed56 Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Sat, 28 Feb 2015 01:18:38 +0100 Subject: [PATCH] Maipo should also use the local qemu clone http://tracker.ceph.com/issues/10975 Fixes: #10975 Signed-off-by: Loic Dachary --- qa/workunits/rbd/qemu-iotests.sh | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/qa/workunits/rbd/qemu-iotests.sh b/qa/workunits/rbd/qemu-iotests.sh index c45374378289..1ab6a401bbac 100755 --- a/qa/workunits/rbd/qemu-iotests.sh +++ b/qa/workunits/rbd/qemu-iotests.sh @@ -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 -- 2.47.3