qemu-iotests: Filter out 'adapter_type'
authorFam Zheng <famz@redhat.com>
Fri, 3 May 2013 07:31:16 +0000 (15:31 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 3 May 2013 11:06:22 +0000 (13:06 +0200)
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>
tests/qemu-iotests/common.rc

index 442cf51..31eb62b 100644 (file)
@@ -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