iotests: Use stat -c %b in 125
commitf2d86ade4da71d1f32ffc5977ea5417c20996919
authorMax Reitz <mreitz@redhat.com>
Wed, 25 Sep 2019 18:32:31 +0000 (25 20:32 +0200)
committerMax Reitz <mreitz@redhat.com>
Thu, 10 Oct 2019 08:56:18 +0000 (10 10:56 +0200)
tree0e311db3ac896bf3689677c1f3967f54c3099270
parent285f595d74738f9f99c5b5b05005956e0d7c1b77
iotests: Use stat -c %b in 125

125 should not use qemu-img to get the on-disk image size, because that
reports it in a human-readable format that is useless to us.  Just use
stat instead (like we do to get the image file length).

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190925183231.11196-4-mreitz@redhat.com
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/125