diff options
author | Hanna Reitz <hreitz@redhat.com> | 2022-06-20 18:27:02 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2023-02-01 16:52:33 +0100 |
commit | 74163adda3101b127943f7cbbf8fcccd2d472426 (patch) | |
tree | 9abd3d159664229f79c1a2841f08346c05ff81b2 /qemu-img.c | |
parent | bcc6777ad6facede73c0cf8b1700045bf4365f7d (diff) |
iotests/106, 214, 308: Read only one size line
These tests read size information (sometimes disk size, sometimes
virtual size) from qemu-img info's output. Once qemu-img starts
printing info about child nodes, we are going to see multiple instances
of that per image, but these tests are only interested in the first one,
so use "head -n 1" to get it.
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20220620162704.80987-11-hreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-img.c')
0 files changed, 0 insertions, 0 deletions