diff options
author | Vladimir Sementsov-Ogievskiy | 2021-01-16 14:44:19 +0100 |
---|---|---|
committer | Eric Blake | 2021-01-20 21:53:22 +0100 |
commit | 9dd003a99842d1d82c336e45c5cce656149de382 (patch) | |
tree | 0498e5ed21018e3d50662ac202f5b19dc5fd0e26 /tests/qemu-iotests/182 | |
parent | iotests/294: add shebang line (diff) | |
download | qemu-9dd003a99842d1d82c336e45c5cce656149de382.tar.gz qemu-9dd003a99842d1d82c336e45c5cce656149de382.tar.xz qemu-9dd003a99842d1d82c336e45c5cce656149de382.zip |
iotests: define group in each iotest
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>
Diffstat (limited to 'tests/qemu-iotests/182')
-rwxr-xr-x | tests/qemu-iotests/182 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/182 b/tests/qemu-iotests/182 index 56a2dd58e6..55a0384c08 100755 --- a/tests/qemu-iotests/182 +++ b/tests/qemu-iotests/182 @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# group: rw quick # # Test image locking for POSIX locks # |