mirror of https://github.com/proxmox/mirror_qemu
iotests: 095: Filter _img_info output
Signed-off-by: Fam Zheng <famz@redhat.com> Message-id: 1450752561-9300-12-git-send-email-famz@redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>master
parent
61b422265e
commit
f943078e42
|
@ -58,7 +58,7 @@ _make_test_img -b "${TEST_IMG}.snp1" $size_larger
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "=== Base image info before commit and resize ==="
|
echo "=== Base image info before commit and resize ==="
|
||||||
TEST_IMG="${TEST_IMG}.base" _img_info
|
TEST_IMG="${TEST_IMG}.base" _img_info | _filter_img_info
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo === Running QEMU Live Commit Test ===
|
echo === Running QEMU Live Commit Test ===
|
||||||
|
@ -76,7 +76,7 @@ _send_qemu_cmd $h "{ 'execute': 'block-commit',
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "=== Base image info after commit and resize ==="
|
echo "=== Base image info after commit and resize ==="
|
||||||
TEST_IMG="${TEST_IMG}.base" _img_info
|
TEST_IMG="${TEST_IMG}.base" _img_info | _filter_img_info
|
||||||
|
|
||||||
# success, all done
|
# success, all done
|
||||||
echo "*** done"
|
echo "*** done"
|
||||||
|
|
|
@ -7,7 +7,6 @@ Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=104857600 backing_file=TEST_DIR/
|
||||||
image: TEST_DIR/t.IMGFMT.base
|
image: TEST_DIR/t.IMGFMT.base
|
||||||
file format: IMGFMT
|
file format: IMGFMT
|
||||||
virtual size: 5.0M (5242880 bytes)
|
virtual size: 5.0M (5242880 bytes)
|
||||||
cluster_size: 65536
|
|
||||||
|
|
||||||
=== Running QEMU Live Commit Test ===
|
=== Running QEMU Live Commit Test ===
|
||||||
|
|
||||||
|
@ -19,5 +18,4 @@ cluster_size: 65536
|
||||||
image: TEST_DIR/t.IMGFMT.base
|
image: TEST_DIR/t.IMGFMT.base
|
||||||
file format: IMGFMT
|
file format: IMGFMT
|
||||||
virtual size: 100M (104857600 bytes)
|
virtual size: 100M (104857600 bytes)
|
||||||
cluster_size: 65536
|
|
||||||
*** done
|
*** done
|
||||||
|
|
Loading…
Reference in New Issue