[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PULL 10/13] iotests: define group in each iotest
From: |
Vladimir Sementsov-Ogievskiy |
Subject: |
Re: [PULL 10/13] iotests: define group in each iotest |
Date: |
Thu, 21 Jan 2021 12:19:26 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 |
21.01.2021 05:36, Eric Blake wrote:
From: Vladimir Sementsov-Ogievskiy<vsementsov@virtuozzo.com>
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>
Reviewed-by: Eric Blake<eblake@redhat.com>
Message-Id:<20210116134424.82867-7-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake<eblake@redhat.com>
Hmm. I think this patch should go together with the main series about
refactoring iotests/check, not with preparation fixes. Otherwise we'll diverge
if more tests will come in a mean time (or any change in group file). And just
for good history, better keep this patch close to dropping of group file.
--
Best regards,
Vladimir
- [PULL 00/13] NBD patches through 2021-01-20, Eric Blake, 2021/01/20
- [PULL 01/13] qemu-nbd: Fix a memleak in qemu_nbd_client_list(), Eric Blake, 2021/01/20
- [PULL 02/13] qemu-nbd: Fix a memleak in nbd_client_thread(), Eric Blake, 2021/01/20
- [PULL 04/13] nbd/server: Quiesce coroutines on context switch, Eric Blake, 2021/01/20
- [PULL 05/13] iotests/277: use dot slash for nbd-fault-injector.py running, Eric Blake, 2021/01/20
- [PULL 03/13] block: Honor blk_set_aio_context() context requirements, Eric Blake, 2021/01/20
- [PULL 07/13] iotests: fix some whitespaces in test output files, Eric Blake, 2021/01/20
- [PULL 08/13] iotests: make tests executable, Eric Blake, 2021/01/20
- [PULL 10/13] iotests: define group in each iotest, Eric Blake, 2021/01/20
- Re: [PULL 10/13] iotests: define group in each iotest,
Vladimir Sementsov-Ogievskiy <=
- [PULL 11/13] iotests/264: fix style, Eric Blake, 2021/01/20
- [PULL 13/13] iotests.py: qemu_io(): reuse qemu_tool_pipe_and_status(), Eric Blake, 2021/01/20
- [PULL 06/13] iotests/303: use dot slash for qcow2.py running, Eric Blake, 2021/01/20
- [PULL 09/13] iotests/294: add shebang line, Eric Blake, 2021/01/20
- [PULL 12/13] iotests.py: fix qemu_tool_pipe_and_status(), Eric Blake, 2021/01/20
- Re: [PULL 00/13] NBD patches through 2021-01-20, Peter Maydell, 2021/01/21