diff options
author | 2018-03-01 14:38:11 +0800 | |
---|---|---|
committer | 2018-03-01 14:38:11 +0800 | |
commit | 7da45d65be36d36b880cc55c5036e96c24b53f00 (patch) | |
tree | d4f944eb4f8f8de50a9a7584ffa408dc3a3185b2 /src/ceph/qa/workunits/rbd/qemu-iotests.sh | |
parent | 691462d09d0987b47e112d6ee8740375df3c51b2 (diff) |
remove ceph code
This patch removes initial ceph code, due to license issue.
Change-Id: I092d44f601cdf34aed92300fe13214925563081c
Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
Diffstat (limited to 'src/ceph/qa/workunits/rbd/qemu-iotests.sh')
-rwxr-xr-x | src/ceph/qa/workunits/rbd/qemu-iotests.sh | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/ceph/qa/workunits/rbd/qemu-iotests.sh b/src/ceph/qa/workunits/rbd/qemu-iotests.sh deleted file mode 100755 index e775ade..0000000 --- a/src/ceph/qa/workunits/rbd/qemu-iotests.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/sh -ex - -# Run qemu-iotests against rbd. These are block-level tests that go -# through qemu but do not involve running a full vm. Note that these -# require the admin ceph user, as there's no way to pass the ceph user -# to qemu-iotests currently. - -testlist='001 002 003 004 005 008 009 010 011 021 025 032 033 055' - -git clone https://github.com/qemu/qemu.git -cd qemu -if lsb_release -da | grep -iq xenial; then - # Xenial requires a recent test harness - git checkout v2.3.0 -else - # use v2.2.0-rc3 (last released version that handles all the tests - git checkout 2528043f1f299e0e88cb026f1ca7c40bbb4e1f80 - -fi - -cd tests/qemu-iotests -mkdir bin -# qemu-iotests expects a binary called just 'qemu' to be available -if [ -x '/usr/bin/qemu-system-x86_64' ] -then - QEMU='/usr/bin/qemu-system-x86_64' -else - QEMU='/usr/libexec/qemu-kvm' - - # disable test 055 since qemu-kvm (RHEL/CentOS) doesn't support the - # required QMP commands - testlist=$(echo ${testlist} | sed "s/ 055//g") -fi -ln -s $QEMU bin/qemu - -# this is normally generated by configure, but has nothing but a python -# binary definition, which we don't care about. for some reason it is -# not present on trusty. -touch common.env - -# TEST_DIR is the pool for rbd -TEST_DIR=rbd PATH="$PATH:$PWD/bin" ./check -rbd $testlist - -cd ../../.. -rm -rf qemu |