mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
iotests/059: Filter out disk size with more standard filter
The actual disk space used by an image can vary between filesystems and depending on other settings like an extent size hint. Replace the one call of "$QEMU_IMG info" and the associated one-off sed filter with the more standard "_img_info" and the standard filter from common.filter. Apart from turning "vmdk" into "IMGFMT" and changing the placeholder for cid fields, this only removes the "disk size" line. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
d0ceea88de
commit
046e07ca55
2 changed files with 505 additions and 506 deletions
|
@ -82,7 +82,7 @@ _cleanup_test_img
|
|||
echo
|
||||
echo "=== Testing big twoGbMaxExtentFlat ==="
|
||||
_make_test_img -o "subformat=twoGbMaxExtentFlat" 1000G
|
||||
$QEMU_IMG info $TEST_IMG | _filter_testdir | sed -e 's/cid: [0-9]*/cid: XXXXXXXX/'
|
||||
_img_info --format-specific | _filter_img_info --format-specific
|
||||
_cleanup_test_img
|
||||
|
||||
echo
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue