aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/059
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2013-12-03 10:41:05 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2013-12-03 09:54:16 +0100
commitaf057fe74092df2e7a576448ddbdc0daac1370bf (patch)
tree10b4db9029cdb6a5678b43693ff9431876832cbc /tests/qemu-iotests/059
parent7b6b145dbc62162df818dc2c5153defd0417c688 (diff)
vmdk: Fix creating big description file
The buffer for description file was 4096 which only covers a few hundred of extents. This changes the buffer to dynamic allocated with g_strdup_printf in order to support bigger cases. Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/059')
-rwxr-xr-xtests/qemu-iotests/0595
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/qemu-iotests/059 b/tests/qemu-iotests/059
index 4926645e5e..73941c3e61 100755
--- a/tests/qemu-iotests/059
+++ b/tests/qemu-iotests/059
@@ -76,6 +76,11 @@ echo "=== Testing monolithicFlat with zeroed_grain ==="
IMGOPTS="subformat=monolithicFlat,zeroed_grain=on" _make_test_img 2G
echo
+echo "=== Testing big twoGbMaxExtentFlat ==="
+IMGOPTS="subformat=twoGbMaxExtentFlat" _make_test_img 1000G
+$QEMU_IMG info $TEST_IMG | _filter_testdir | sed -e 's/cid: [0-9]*/cid: XXXXXXXX/'
+
+echo
echo "=== Testing version 3 ==="
_use_sample_img iotest-version3.vmdk.bz2
_img_info