summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/005
diff options
context:
space:
mode:
authorMORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>2011-01-18 02:01:17 +0900
committerKevin Wolf <kwolf@redhat.com>2012-02-23 10:29:46 +0100
commit9cdfa1b34e22bc09e80042b1ef3e4a5096f260d5 (patch)
tree5e35bba9d58160dc12df1bc3b88e2418f27d834e /tests/qemu-iotests/005
parent62284d1776e4e9d1e39e393398becf7c778ca0ce (diff)
downloadqemu-9cdfa1b34e22bc09e80042b1ef3e4a5096f260d5.tar.gz
qemu-iotests: add support for rbd and sheepdog protocols
This patch introduces tests for protocols other than file, and initially supports rbd and sheepdog. Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tests/qemu-iotests/005')
-rwxr-xr-xtests/qemu-iotests/0056
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/qemu-iotests/005 b/tests/qemu-iotests/005
index 480276bce5..74537dbabb 100755
--- a/tests/qemu-iotests/005
+++ b/tests/qemu-iotests/005
@@ -42,6 +42,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter
_supported_fmt generic
+_supported_proto generic
_supported_os Linux
# vpc is limited to 127GB, so we can't test it here
@@ -49,6 +50,11 @@ if [ "$IMGFMT" = "vpc" ]; then
_notrun "image format $IMGFMT does not support large image sizes"
fi
+# sheepdog image is limited to 4TB, so we can't test it here
+if [ "$IMGPROTO" = "sheepdog" ]; then
+ _notrun "image protocol $IMGPROTO does not support large image sizes"
+fi
+
echo
echo "creating large image"
_make_test_img 5000G