[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 5/7] iotests: add filter_generated_node_ids
From: |
Vladimir Sementsov-Ogievskiy |
Subject: |
Re: [Qemu-devel] [PATCH v3 5/7] iotests: add filter_generated_node_ids |
Date: |
Mon, 17 Dec 2018 14:37:03 +0000 |
15.12.2018 2:15, John Snow wrote:
> To mimic the common filter of the same name, but for the python tests.
>
> Signed-off-by: John Snow <address@hidden
oops, '.' -> '>'
and also, strange CC line in header, including "John Snow <address@hidden>,
John"
> Reviewed-by: Eric Blake <address@hidden>
> Reviewed-by: Vladimir Sementsov-Ogievskiy <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 a34e66813a..9595429fea 100644
> --- a/tests/qemu-iotests/iotests.py
> +++ b/tests/qemu-iotests/iotests.py
> @@ -239,6 +239,9 @@ def filter_testfiles(msg):
> prefix = os.path.join(test_dir, "%s-" % (os.getpid()))
> return msg.replace(prefix, 'TEST_DIR/PID-')
>
> +def filter_generated_node_ids(msg):
> + return re.sub("#block[0-9]+", "NODE_NAME", msg)
> +
> def filter_img_info(output, filename):
> lines = []
> for line in output.split('\n'):
>
--
Best regards,
Vladimir
- Re: [Qemu-devel] [PATCH v3 6/7] iotests: allow pretty-print for qmp_log, (continued)
[Qemu-devel] [PATCH v3 3/7] block: remove 'x' prefix from experimental bitmap APIs, John Snow, 2018/12/14
[Qemu-devel] [PATCH v3 4/7] iotests.py: don't abort if IMGKEYSECRET is undefined, John Snow, 2018/12/14
[Qemu-devel] [PATCH v3 7/7] iotests: add iotest 236 for testing bitmap merge, John Snow, 2018/12/14
Re: [Qemu-devel] [PATCH v3 7/7] iotests: add iotest 236 for testing bitmap merge, Vladimir Sementsov-Ogievskiy, 2018/12/18
[Qemu-devel] [PATCH v3 5/7 RESEND] iotests: add filter_generated_node_ids, John Snow, 2018/12/14
Message not available
- Re: [Qemu-devel] [PATCH v3 5/7] iotests: add filter_generated_node_ids,
Vladimir Sementsov-Ogievskiy <=
Re: [Qemu-devel] [PATCH v3 0/7] bitmaps: remove x- prefix from QMP api, John Snow, 2018/12/17
Re: [Qemu-devel] [PATCH v3 0/7] bitmaps: remove x- prefix from QMP api, no-reply, 2018/12/23