diff mbox

[2/2] qemu-iotests: filter out driver-specific option preallocation

Message ID 0ffebfb3a9c656a58a3917a22a4600a9b848a522.1409216371.git.hutao@cn.fujitsu.com
State New
Headers show

Commit Message

Hu Tao Aug. 28, 2014, 8:56 a.m. UTC
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
---
 tests/qemu-iotests/common.filter | 1 +
 1 file changed, 1 insertion(+)

Comments

Stefan Hajnoczi Aug. 29, 2014, 4:07 p.m. UTC | #1
On Thu, Aug 28, 2014 at 04:56:04PM +0800, Hu Tao wrote:
> 
> Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
> ---
>  tests/qemu-iotests/common.filter | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/qemu-iotests/common.filter b/tests/qemu-iotests/common.filter
> index 362394e..97d2934 100644
> --- a/tests/qemu-iotests/common.filter
> +++ b/tests/qemu-iotests/common.filter
> @@ -189,6 +189,7 @@ _filter_img_create()
>          -e "s# block_size=[0-9]\\+##g" \
>          -e "s# block_state_zero=\\(on\\|off\\)##g" \
>          -e "s# log_size=[0-9]\\+##g" \
> +        -e "s# preallocation='[^']*'##g" \
>          -e "s/archipelago:a/TEST_DIR\//g"
>  }

This seems bogus.

Why does this patch filter the option without updating all the
tests/qemu-iotests/*.out files that contain this output?

What is the point of this patch?

Stefan
diff mbox

Patch

diff --git a/tests/qemu-iotests/common.filter b/tests/qemu-iotests/common.filter
index 362394e..97d2934 100644
--- a/tests/qemu-iotests/common.filter
+++ b/tests/qemu-iotests/common.filter
@@ -189,6 +189,7 @@  _filter_img_create()
         -e "s# block_size=[0-9]\\+##g" \
         -e "s# block_state_zero=\\(on\\|off\\)##g" \
         -e "s# log_size=[0-9]\\+##g" \
+        -e "s# preallocation='[^']*'##g" \
         -e "s/archipelago:a/TEST_DIR\//g"
 }