aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2013-10-11 15:43:22 +0800
committerKevin Wolf <kwolf@redhat.com>2013-10-11 16:50:01 +0200
commit4823970bcb882cd5b7e9c9a21fa6573190035050 (patch)
treedb22e17bcc03f7ef46c7f1f9265d4d12016e72d3 /tests
parent2cdfb12332e885c8ce36f520d2a2a9200101e183 (diff)
downloadqemu-4823970bcb882cd5b7e9c9a21fa6573190035050.zip
qemu-4823970bcb882cd5b7e9c9a21fa6573190035050.tar.gz
qemu-4823970bcb882cd5b7e9c9a21fa6573190035050.tar.bz2
vmdk: convert error code to use errp
Convert "fprintf(stderr,..." and standardize error messages: Remove a few local_error's and use errp. Remove "VMDK:" or "Vmdk:" prefixes in error message and fix to upper case. Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/qemu-iotests/059.out6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/qemu-iotests/059.out b/tests/qemu-iotests/059.out
index 21de6e7..265cd76 100644
--- a/tests/qemu-iotests/059.out
+++ b/tests/qemu-iotests/059.out
@@ -2,8 +2,7 @@ QA output created by 059
=== Testing invalid granularity ===
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
-invalid granularity, image may be corrupt
-qemu-io: can't open device TEST_DIR/t.vmdk: Could not open 'TEST_DIR/t.vmdk': Wrong medium type
+qemu-io: can't open device TEST_DIR/t.vmdk: Invalid granularity, image may be corrupt
no file open, try 'help open'
=== Testing too big L2 table size ===
@@ -14,8 +13,7 @@ no file open, try 'help open'
=== Testing too big L1 table size ===
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
-L1 size too big
-qemu-io: can't open device TEST_DIR/t.vmdk: Could not open 'TEST_DIR/t.vmdk': Wrong medium type
+qemu-io: can't open device TEST_DIR/t.vmdk: L1 size too big
no file open, try 'help open'
=== Testing monolithicFlat creation and opening ===