diff options
author | Nir Soffer <nirsof@gmail.com> | 2020-07-28 00:58:45 +0300 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2020-07-28 09:54:43 -0500 |
commit | 4b914b01cdb95fe5722cb70826db7f0a262e8d2a (patch) | |
tree | e4561ded4eca662bcbe8c1a7b6087439854d2401 /tests/qemu-iotests/296 | |
parent | b7719bcad2e92bab5aae3166fa9011f127e6ee49 (diff) | |
download | qemu-4b914b01cdb95fe5722cb70826db7f0a262e8d2a.zip qemu-4b914b01cdb95fe5722cb70826db7f0a262e8d2a.tar.gz qemu-4b914b01cdb95fe5722cb70826db7f0a262e8d2a.tar.bz2 |
iotests: Add more qemu_img helpers
Add 2 helpers for measuring and checking images:
- qemu_img_measure()
- qemu_img_check()
Both use --output-json and parse the returned json to make easy to use
in other tests. I'm going to use them in a new test, and I hope they
will be useful in may other tests.
Signed-off-by: Nir Soffer <nsoffer@redhat.com>
Message-Id: <20200727215846.395443-4-nsoffer@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/296')
0 files changed, 0 insertions, 0 deletions