mirror of
https://github.com/ceph/ceph
synced 2025-02-21 01:47:25 +00:00
Merge pull request #3831 from dachary/wip-qemu-iotests
Maipo should also use the local qemu clone Reviewed-by: Josh Durgin <jdurgin@redhat.com>
This commit is contained in:
commit
0d468ae352
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user