From bd91ecbf5b43b52321c4d938e16a612b9c68bf06 Mon Sep 17 00:00:00 2001 From: Kevin Wolf Date: Mon, 13 May 2013 14:11:13 +0200 Subject: qemu-iotests: Try creating huge qcow2 image It's supposed to fail gracefully instead of segfaulting. Signed-off-by: Kevin Wolf --- tests/qemu-iotests/054.out | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/qemu-iotests/054.out (limited to 'tests/qemu-iotests/054.out') diff --git a/tests/qemu-iotests/054.out b/tests/qemu-iotests/054.out new file mode 100644 index 0000000000..0b2fe301ea --- /dev/null +++ b/tests/qemu-iotests/054.out @@ -0,0 +1,10 @@ +QA output created by 054 + +creating too large image (1 EB) +qemu-img: The image size is too large for file format 'qcow2' +Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1152921504606846976 + +creating too large image (1 EB) using qcow2.py +Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=4294967296 +qemu-img: Could not open 'TEST_DIR/t.qcow2': File too large +*** done -- cgit v1.2.3