[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL v2 05/33] iotests: Use _img_info in test 089
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PULL v2 05/33] iotests: Use _img_info in test 089 |
Date: |
Wed, 28 May 2014 14:32:15 +0200 |
From: Max Reitz <address@hidden>
Currently, test 089 uses $QEMU_IMG info manually in order to obtain the
according output. However, the iotests should generally use _img_info as
this filters out more irrelevant information such as the host image size
or format specific information. Therefore, test 089 should use _img_info
as well.
Signed-off-by: Max Reitz <address@hidden>
Reported-by: Kevin Wolf <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
tests/qemu-iotests/089 | 3 +--
tests/qemu-iotests/089.out | 4 ----
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/tests/qemu-iotests/089 b/tests/qemu-iotests/089
index ef47601..dffc977 100755
--- a/tests/qemu-iotests/089
+++ b/tests/qemu-iotests/089
@@ -107,8 +107,7 @@ echo
echo "=== Testing qemu-img info output ==="
echo
-$QEMU_IMG info "json:{\"driver\":\"qcow2\",\"file.filename\":\"$TEST_IMG\"}" \
- | _filter_testdir | _filter_imgfmt
+TEST_IMG="json:{\"driver\":\"qcow2\",\"file.filename\":\"$TEST_IMG\"}"
_img_info
echo
diff --git a/tests/qemu-iotests/089.out b/tests/qemu-iotests/089.out
index d6cf783..4ca2f88 100644
--- a/tests/qemu-iotests/089.out
+++ b/tests/qemu-iotests/089.out
@@ -31,11 +31,7 @@ read failed: Input/output error
image: TEST_DIR/t.IMGFMT
file format: IMGFMT
virtual size: 64M (67108864 bytes)
-disk size: 324K
cluster_size: 65536
-Format specific information:
- compat: 1.1
- lazy refcounts: false
=== Testing option merging ===
--
1.9.3
- [Qemu-devel] [PULL v2 00/33] Block patches, Stefan Hajnoczi, 2014/05/28
- [Qemu-devel] [PULL v2 01/33] qemu-iotests: Handle cache mode option in 091, Stefan Hajnoczi, 2014/05/28
- [Qemu-devel] [PULL v2 02/33] QemuOpt: add unit tests, Stefan Hajnoczi, 2014/05/28
- [Qemu-devel] [PULL v2 03/33] qcow2: Fix memory leak in COW error path, Stefan Hajnoczi, 2014/05/28
- [Qemu-devel] [PULL v2 04/33] aio: Fix use-after-free in cancellation path, Stefan Hajnoczi, 2014/05/28
- [Qemu-devel] [PULL v2 06/33] block: Add BlockOpType enum, Stefan Hajnoczi, 2014/05/28
- [Qemu-devel] [PULL v2 05/33] iotests: Use _img_info in test 089,
Stefan Hajnoczi <=
- [Qemu-devel] [PULL v2 07/33] block: Introduce op_blockers to BlockDriverState, Stefan Hajnoczi, 2014/05/28
- [Qemu-devel] [PULL v2 09/33] block: Move op_blocker check from block_job_create to its caller, Stefan Hajnoczi, 2014/05/28
- [Qemu-devel] [PULL v2 08/33] block: Replace in_use with operation blocker, Stefan Hajnoczi, 2014/05/28
- [Qemu-devel] [PULL v2 10/33] block: Add bdrv_set_backing_hd(), Stefan Hajnoczi, 2014/05/28
- [Qemu-devel] [PULL v2 11/33] block: Use bdrv_set_backing_hd everywhere, Stefan Hajnoczi, 2014/05/28
- [Qemu-devel] [PULL v2 12/33] block: Add backing_blocker in BlockDriverState, Stefan Hajnoczi, 2014/05/28
- [Qemu-devel] [PULL v2 13/33] block: Drop redundant bdrv_refresh_limits, Stefan Hajnoczi, 2014/05/28
- [Qemu-devel] [PULL v2 14/33] docs: Define refcount_bits value, Stefan Hajnoczi, 2014/05/28
- [Qemu-devel] [PULL v2 15/33] blockdev: Don't use qerror_report_err() in drive_init(), Stefan Hajnoczi, 2014/05/28
- [Qemu-devel] [PULL v2 16/33] blockdev: Don't use qerror_report() in do_drive_del(), Stefan Hajnoczi, 2014/05/28