mirror of
https://github.com/qemu/qemu.git
synced 2025-08-09 10:25:06 +00:00
qemu-iotests: ignore fragmentation information for qed
We added image fragmentation statistics functions to qemu-img several days ago, those patches will cause "./check -qed" failed. This patch will ignore fragmentation statistics information of qed format, and then "./check -qed" will work. Signed-off-by: Dong Xu Wang <wdongxu@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
563987d0a7
commit
a5126c759d
@ -130,6 +130,7 @@ _cleanup_test_img()
|
|||||||
_check_test_img()
|
_check_test_img()
|
||||||
{
|
{
|
||||||
$QEMU_IMG check -f $IMGFMT $TEST_IMG 2>&1 | \
|
$QEMU_IMG check -f $IMGFMT $TEST_IMG 2>&1 | \
|
||||||
|
grep -v "fragmented$" | \
|
||||||
sed -e 's/qemu-img\: This image format does not support checks/No errors were found on the image./'
|
sed -e 's/qemu-img\: This image format does not support checks/No errors were found on the image./'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user