[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 4/5] qemu-iotests: Merge FilePaths and FilePath
From: |
Max Reitz |
Subject: |
Re: [PATCH v2 4/5] qemu-iotests: Merge FilePaths and FilePath |
Date: |
Tue, 25 Aug 2020 12:57:08 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
On 21.08.20 01:54, Nir Soffer wrote:
> FilePath creates now one temporary file:
>
> with FilePath("a") as a:
>
> Or more:
>
> with FilePath("a", "b", "c") as (a, b, c):
>
> This is also the behavior of the file_path() helper, used by some of the
> tests. Now we have only 2 helpers for creating temporary files instead
> of 3.
>
> Signed-off-by: Nir Soffer <nsoffer@redhat.com>
> ---
> tests/qemu-iotests/194 | 2 +-
> tests/qemu-iotests/208 | 2 +-
> tests/qemu-iotests/222 | 2 +-
> tests/qemu-iotests/257 | 4 ++--
> tests/qemu-iotests/iotests.py | 23 +++++++++++------------
> 5 files changed, 16 insertions(+), 17 deletions(-)
Reviewed-by: Max Reitz <mreitz@redhat.com>
signature.asc
Description: OpenPGP digital signature
- [PATCH v2 0/5] iotest.FilePath fixes and cleanups, Nir Soffer, 2020/08/20
- [PATCH v2 1/5] qemu-iotests: Fix FilePaths cleanup, Nir Soffer, 2020/08/20
- [PATCH v2 2/5] qemu-iotests: Fix FilePaths docstring, Nir Soffer, 2020/08/20
- [PATCH v2 3/5] qemu-iotests: Support varargs syntax in FilePaths, Nir Soffer, 2020/08/20
- [PATCH v2 4/5] qemu-iotests: Merge FilePaths and FilePath, Nir Soffer, 2020/08/20
- Re: [PATCH v2 4/5] qemu-iotests: Merge FilePaths and FilePath,
Max Reitz <=
- [PATCH v2 5/5] qemu-iotests: Simplify FilePath __init__, Nir Soffer, 2020/08/20
- Re: [PATCH v2 0/5] iotest.FilePath fixes and cleanups, Kevin Wolf, 2020/08/25