Message ID | 20180628000745.4477-7-mreitz@redhat.com |
---|---|
State | New |
Headers | show |
Series | block: Fix some filename generation issues | expand |
On 06/27/2018 07:07 PM, Max Reitz wrote: > Signed-off-by: Max Reitz <mreitz@redhat.com> > --- > tests/qemu-iotests/iotests.py | 3 +++ > 1 file changed, 3 insertions(+) Wow, we didn't need that before? Matches what shell tests have. Reviewed-by: Eric Blake <eblake@redhat.com>
On Thu 28 Jun 2018 02:07:20 AM CEST, Max Reitz wrote: > Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Alberto Garcia <berto@igalia.com> Berto
diff --git a/tests/qemu-iotests/iotests.py b/tests/qemu-iotests/iotests.py index 4e67fbbe96..5c45788dac 100644 --- a/tests/qemu-iotests/iotests.py +++ b/tests/qemu-iotests/iotests.py @@ -246,6 +246,9 @@ def filter_img_info(output, filename): lines.append(line) return '\n'.join(lines) +def filter_imgfmt(msg): + return msg.replace(imgfmt, 'IMGFMT') + def log(msg, filters=[]): for flt in filters: msg = flt(msg)
Signed-off-by: Max Reitz <mreitz@redhat.com> --- tests/qemu-iotests/iotests.py | 3 +++ 1 file changed, 3 insertions(+)