summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/common.rc
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2013-05-03 15:31:16 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2013-05-03 13:06:22 +0200
commit86abefd61e23325162e59e5bfb8f0346eda62541 (patch)
tree56440cd5d618058c09ba80e0351ea48f1768f27e /tests/qemu-iotests/common.rc
parent2d8214885942becb8f4371a66d6f8c9a9580108a (diff)
downloadqemu-86abefd61e23325162e59e5bfb8f0346eda62541.tar.gz
qemu-86abefd61e23325162e59e5bfb8f0346eda62541.tar.bz2
qemu-86abefd61e23325162e59e5bfb8f0346eda62541.zip
qemu-iotests: Filter out 'adapter_type'
Filter out vmdk creation option 'adapter_type' for vmdk. So that tests with an explicit './check -o adapter_type=XXX' will not fail. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/common.rc')
-rw-r--r--tests/qemu-iotests/common.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc
index 442cf516ef..31eb62b604 100644
--- a/tests/qemu-iotests/common.rc
+++ b/tests/qemu-iotests/common.rc
@@ -129,6 +129,7 @@ _make_test_img()
-e "s# static=\\(on\\|off\\)##g" \
-e "s# zeroed_grain=\\(on\\|off\\)##g" \
-e "s# subformat='[^']*'##g" \
+ -e "s# adapter_type='[^']*'##g" \
-e "s# lazy_refcounts=\\(on\\|off\\)##g"
# Start an NBD server on the image file, which is what we'll be talking to