[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 06/11] iotests: define group in each iotest
From: |
Eric Blake |
Subject: |
Re: [PATCH v6 06/11] iotests: define group in each iotest |
Date: |
Wed, 13 Jan 2021 17:01:12 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 |
On 1/9/21 6:26 AM, Vladimir Sementsov-Ogievskiy wrote:
> We are going to drop group file. Define group in tests as a preparatory
> step.
>
> The patch is generated by
>
> cd tests/qemu-iotests
>
> grep '^[0-9]\{3\} ' group | while read line; do
> file=$(awk '{print $1}' <<< "$line");
> groups=$(sed -e 's/^... //' <<< "$line");
> awk "NR==2{print \"# group: $groups\"}1" $file > tmp;
> cat tmp > $file;
> done
>
> Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
> ---
> 291 files changed, 291 insertions(+)
May need rebasing, but your reproduction formula works (requires bash,
but that's fine since the tests themselves do as well).
> +++ b/tests/qemu-iotests/312
> @@ -1,4 +1,5 @@
> #!/usr/bin/env bash
> +# group: rw quick
> #
> # Test drive-mirror with quorum
> #
I like how it looks.
Reviewed-by: Eric Blake <eblake@redhat.com>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
- Re: [PATCH v6 08/11] iotests: add testenv.py, (continued)
- Re: [PATCH v6 08/11] iotests: add testenv.py, Vladimir Sementsov-Ogievskiy, 2021/01/15
- Re: [PATCH v6 08/11] iotests: add testenv.py, Kevin Wolf, 2021/01/15
- Re: [PATCH v6 08/11] iotests: add testenv.py, Vladimir Sementsov-Ogievskiy, 2021/01/15
- Re: [PATCH v6 08/11] iotests: add testenv.py, Kevin Wolf, 2021/01/15
- Re: [PATCH v6 08/11] iotests: add testenv.py, Vladimir Sementsov-Ogievskiy, 2021/01/15
- Re: [PATCH v6 08/11] iotests: add testenv.py, Vladimir Sementsov-Ogievskiy, 2021/01/16
- Re: [PATCH v6 08/11] iotests: add testenv.py, Vladimir Sementsov-Ogievskiy, 2021/01/16
- Re: [PATCH v6 08/11] iotests: add testenv.py, Kevin Wolf, 2021/01/18
- Re: [PATCH v6 08/11] iotests: add testenv.py, Vladimir Sementsov-Ogievskiy, 2021/01/18
[PATCH v6 06/11] iotests: define group in each iotest, Vladimir Sementsov-Ogievskiy, 2021/01/09
- Re: [PATCH v6 06/11] iotests: define group in each iotest,
Eric Blake <=