summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/089
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2014-05-20 22:43:19 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2014-05-28 14:28:46 +0200
commit0bf7488afbf42ccde75eb390afe5ea494c47f0c9 (patch)
tree5ed496a210aee5b2834fbeaca8ee333fd5b5b07f /tests/qemu-iotests/089
parent271c0f68b4eae72691721243a1c37f46a3232d61 (diff)
downloadqemu-0bf7488afbf42ccde75eb390afe5ea494c47f0c9.tar.gz
iotests: Use _img_info in test 089
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 <mreitz@redhat.com> Reported-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/089')
-rwxr-xr-xtests/qemu-iotests/0893
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/qemu-iotests/089 b/tests/qemu-iotests/089
index ef476010c0..dffc977e1c 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