[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH v11 06/31] iotests.py: Add filter_imgfmt()
From: |
Max Reitz |
Subject: |
[Qemu-block] [PATCH v11 06/31] iotests.py: Add filter_imgfmt() |
Date: |
Sat, 6 Oct 2018 01:39:58 +0200 |
Signed-off-by: Max Reitz <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Alberto Garcia <address@hidden>
---
tests/qemu-iotests/iotests.py | 3 +++
1 file changed, 3 insertions(+)
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)
--
2.17.1
- [Qemu-block] [PATCH v11 00/31] block: Fix some filename generation issues, Max Reitz, 2018/10/05
- [Qemu-block] [PATCH v11 03/31] block: Skip implicit nodes for filename info, Max Reitz, 2018/10/05
- [Qemu-block] [PATCH v11 02/31] block: Use children list in bdrv_refresh_filename, Max Reitz, 2018/10/05
- [Qemu-block] [PATCH v11 01/31] block: Use bdrv_refresh_filename() to pull, Max Reitz, 2018/10/05
- [Qemu-block] [PATCH v11 05/31] block: Respect backing bs in bdrv_refresh_filename, Max Reitz, 2018/10/05
- [Qemu-block] [PATCH v11 04/31] block: Add BDS.auto_backing_file, Max Reitz, 2018/10/05
- [Qemu-block] [PATCH v11 06/31] iotests.py: Add filter_imgfmt(),
Max Reitz <=
- [Qemu-block] [PATCH v11 07/31] iotests.py: Add node_info(), Max Reitz, 2018/10/05
- Re: [Qemu-block] [PATCH v11 07/31] iotests.py: Add node_info(), Alberto Garcia, 2018/10/09
[Qemu-block] [PATCH v11 08/31] iotests: Add test for backing file overrides, Max Reitz, 2018/10/05
[Qemu-block] [PATCH v11 09/31] block: Make path_combine() return the path, Max Reitz, 2018/10/05
[Qemu-block] [PATCH v11 10/31] block: bdrv_get_full_backing_filename_from_...'s ret. val., Max Reitz, 2018/10/05
[Qemu-block] [PATCH v11 11/31] block: bdrv_get_full_backing_filename's ret. val., Max Reitz, 2018/10/05