diff options
author | Andrey Shinkevich <andrey.shinkevich@virtuozzo.com> | 2020-08-06 22:35:57 +0300 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2020-08-21 08:56:09 -0500 |
commit | 76bbbb2d8bcd635f787ddf448bad9c68f3299dee (patch) | |
tree | b1f3dd4f7f7257a3c5c95f331a4dda0f49b8bd52 /tests/qemu-iotests/303 | |
parent | 4edcca57412d2b54537b4fc2b10ebfa1b920192c (diff) |
iotests: dump QCOW2 header in JSON in #303
Extend the test case #303 by dumping QCOW2 image metadata in JSON
format.
Signed-off-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <1596742557-320265-12-git-send-email-andrey.shinkevich@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/303')
-rwxr-xr-x | tests/qemu-iotests/303 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/qemu-iotests/303 b/tests/qemu-iotests/303 index e9accdc7bc..6c21774483 100755 --- a/tests/qemu-iotests/303 +++ b/tests/qemu-iotests/303 @@ -58,3 +58,6 @@ add_bitmap(1, 0, 6, False) add_bitmap(2, 6, 8, True) dump = ['qcow2.py', disk, 'dump-header'] subprocess.run(dump) +# Dump the metadata in JSON format +dump.append('-j') +subprocess.run(dump) |