qemu-iotests: ignore qemu-img create lazy_refcounts output
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Fri, 27 Jul 2012 08:05:21 +0000 (09:05 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 6 Aug 2012 20:39:14 +0000 (22:39 +0200)
Hide the default lazy_refcounts=off output from qemu-img like we do with
other image creation options.  This ensures that existing golden outputs
continue to pass despite the new option that has been added.

Note that this patch applies before the one that actually introduces the
lazy_refcounts=on|off option.  This ensures git-bisect(1) continues to
work.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/common.rc

index 5e3a524..cc4e39b 100644 (file)
@@ -113,7 +113,8 @@ _make_test_img()
        sed -e "s# table_size=0##g" | \
        sed -e "s# compat='[^']*'##g" | \
        sed -e "s# compat6=off##g" | \
-       sed -e "s# static=off##g"
+       sed -e "s# static=off##g" | \
+       sed -e "s# lazy_refcounts=off##g"
 }
 
 _cleanup_test_img()