tests/qemu-iotests: Use GNU sed in two more spots where it is necessary
PATCH 1/1 tests/qemu-iotests: Use GNU sed in two more spots where it is necessary
These two spots have been missed in commit 9086c7639822 ("Rework the checks and spots using GNU sed") - they need GNU sed, too, since they are using the "+" address form.
--- tests/qemu-iotests/common.filter | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
tests/qemu-iotests/common.filter +2 -2
@@ -106,13 +106,13 @@ _filter_hmp() # replace block job offset _filter_block_job_offset() { - sed -e 's/, "offset": [0-9]\+,/, "offset": OFFSET,/' + gsed -e 's/, "offset": [0-9]\+,/, "offset": OFFSET,/' } # replace block job len _filter_block_job_len() { - sed -e 's/, "len": [0-9]\+,/, "len": LEN,/g' + gsed -e 's/, "len": [0-9]\+,/, "len": LEN,/g' } # replace actual image size (depends on the host filesystem)
Signature · 1 line
2.27.0
Quoted 8 lines · Thomas Huth
These two spots have been missed in commit
9086c7639822("Rework the checks and spots using GNU sed") - they need GNU sed, too, since they are using the "+" address form.Signed-off-by Thomas Huth <[email protected]>--- tests/qemu-iotests/common.filter | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Simpler than rewriting as [0-9][0-9]* for non-GNU sed.
Signature · 3 lines
Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
Quoted 8 lines · Thomas Huth
These two spots have been missed in commit
9086c7639822("Rework the checks and spots using GNU sed") - they need GNU sed, too, since they are using the "+" address form.Signed-off-by Thomas Huth <[email protected]>--- tests/qemu-iotests/common.filter | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Hanna Reitz
AppliedQuoted 8 lines · Thomas Huth
These two spots have been missed in commit
9086c7639822("Rework the checks and spots using GNU sed") - they need GNU sed, too, since they are using the "+" address form.Signed-off-by Thomas Huth <[email protected]>--- tests/qemu-iotests/common.filter | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Thanks, applied to my block branch:
https://gitlab.com/hreitz/qemu/-/commits/block
Hanna