@@ -43,7 +43,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.filter
. ./common.qemu
-_supported_fmt qcow2
+_supported_fmt qcow2 qbm
_supported_proto file
_supported_os Linux
@@ -42,7 +42,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
. ./common.pattern
# Any format supporting backing files and bdrv_make_empty
-_supported_fmt qcow qcow2
+_supported_fmt qcow qcow2 qbm
_supported_proto file
_supported_os Linux
@@ -109,9 +109,11 @@ else
# Both top and intermediate should be unchanged
fi
+{
$QEMU_IMG map "$TEST_IMG.base" | _filter_qemu_img_map
$QEMU_IMG map "$TEST_IMG.itmd" | _filter_qemu_img_map
$QEMU_IMG map "$TEST_IMG" | _filter_qemu_img_map
+} | sed -e 's/.data.img//'
done
The output of "qemu-img map" will be slightly different for qbm because the data image paths are not $TEST_IMG, but the pattern is predicatable enough so we can just filter it out. Signed-off-by: Fam Zheng <famz@redhat.com> --- tests/qemu-iotests/095 | 2 +- tests/qemu-iotests/097 | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-)