[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 02/42] qemu-iotests: Introduce _unsupported_imgopts
From: |
Kevin Wolf |
Subject: |
[Qemu-devel] [PULL 02/42] qemu-iotests: Introduce _unsupported_imgopts |
Date: |
Wed, 15 Jan 2014 11:22:15 +0100 |
From: Fam Zheng <address@hidden>
Introduce _unsupported_imgopts that causes _notrun for specific image
options.
Signed-off-by: Fam Zheng <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Kevin Wolf <address@hidden>
---
tests/qemu-iotests/common.rc | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc
index 28ba0d9..2489c43 100644
--- a/tests/qemu-iotests/common.rc
+++ b/tests/qemu-iotests/common.rc
@@ -406,6 +406,17 @@ _default_cache_mode()
fi
}
+_unsupported_imgopts()
+{
+ for bad_opt
+ do
+ if echo "$IMGOPTS" | grep -q 2>/dev/null "$bad_opt"
+ then
+ _notrun "not suitable for image option: $bad_opt"
+ fi
+ done
+}
+
# this test requires that a specified command (executable) exists
#
_require_command()
--
1.8.1.4
- [Qemu-devel] [PULL 00/42] Block patches, Kevin Wolf, 2014/01/15
- [Qemu-devel] [PULL 01/42] rbd: switch from pipe to QEMUBH completion notification, Kevin Wolf, 2014/01/15
- [Qemu-devel] [PULL 05/42] block/iscsi: return -ENOMEM if an async call fails immediately, Kevin Wolf, 2014/01/15
- [Qemu-devel] [PULL 02/42] qemu-iotests: Introduce _unsupported_imgopts,
Kevin Wolf <=
- [Qemu-devel] [PULL 03/42] qemu-iotests: Add _unsupported_imgopts for vmdk subformats, Kevin Wolf, 2014/01/15
- [Qemu-devel] [PULL 04/42] qemu-iotests: Clean up all extents for vmdk, Kevin Wolf, 2014/01/15
- [Qemu-devel] [PULL 06/42] gluster: Convert aio routines into coroutines, Kevin Wolf, 2014/01/15
- [Qemu-devel] [PULL 09/42] sheepdog: fix clone operation by 'qemu-img create -b', Kevin Wolf, 2014/01/15
- [Qemu-devel] [PULL 07/42] gluster: Implement .bdrv_co_write_zeroes for gluster, Kevin Wolf, 2014/01/15
- [Qemu-devel] [PULL 11/42] docs: qcow2 compat=1.1 is now the default, Kevin Wolf, 2014/01/15
- [Qemu-devel] [PULL 13/42] readline: decouple readline from the monitor, Kevin Wolf, 2014/01/15
- [Qemu-devel] [PULL 08/42] gluster: Add support for creating zero-filled image, Kevin Wolf, 2014/01/15
- [Qemu-devel] [PULL 12/42] vmdk: Fix big flat extent IO, Kevin Wolf, 2014/01/15
- [Qemu-devel] [PULL 15/42] osdep: add qemu_set_tty_echo(), Kevin Wolf, 2014/01/15