aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/common.rc
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2013-05-13 14:11:13 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2013-05-24 16:17:55 +0200
commitbd91ecbf5b43b52321c4d938e16a612b9c68bf06 (patch)
treea5f0c0588fa6260304c0bffada8dcec84d9e0419 /tests/qemu-iotests/common.rc
parentc93331c9146719958a4b102435fcd0566da45ea2 (diff)
downloadqemu-bd91ecbf5b43b52321c4d938e16a612b9c68bf06.zip
qemu-bd91ecbf5b43b52321c4d938e16a612b9c68bf06.tar.gz
qemu-bd91ecbf5b43b52321c4d938e16a612b9c68bf06.tar.bz2
qemu-iotests: Try creating huge qcow2 image
It's supposed to fail gracefully instead of segfaulting. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/common.rc')
-rw-r--r--tests/qemu-iotests/common.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc
index 31eb62b..e9ba358 100644
--- a/tests/qemu-iotests/common.rc
+++ b/tests/qemu-iotests/common.rc
@@ -167,7 +167,7 @@ _cleanup_test_img()
_check_test_img()
{
- $QEMU_IMG check "$@" -f $IMGFMT $TEST_IMG 2>&1 | \
+ $QEMU_IMG check "$@" -f $IMGFMT $TEST_IMG 2>&1 | _filter_testdir | \
sed -e '/allocated.*fragmented.*compressed clusters/d' \
-e 's/qemu-img: This image format does not support checks/No errors were found on the image./' \
-e '/Image end offset: [0-9]\+/d'