mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
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>
This commit is contained in:
committed by
Eric Blake
parent
92a476e959
commit
9dd003a998
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# group: rw auto quick
|
||||
#
|
||||
# Test simple read/write using plain bdrv_pread/bdrv_pwrite
|
||||
#
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# group: rw auto quick
|
||||
#
|
||||
# Test simple read/write using plain bdrv_pread/bdrv_pwrite
|
||||
#
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# group: rw auto
|
||||
#
|
||||
# Test simple read/write using bdrv_aio_readv/bdrv_aio_writev
|
||||
#
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# group: rw auto quick
|
||||
#
|
||||
# Make sure we can't read and write outside of the image size.
|
||||
#
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# group: img auto quick
|
||||
#
|
||||
# Make sure qemu-img can create 5TB images
|
||||
#
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# group: snapshot auto
|
||||
#
|
||||
# Check for one possible case of qcow2 refcount corruption.
|
||||
#
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# group: rw auto quick
|
||||
#
|
||||
# Test simple asynchronous read/write operations.
|
||||
#
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# group: rw auto quick
|
||||
#
|
||||
# Nolan I qcow2 corruption - incorrectly reports free clusters
|
||||
#
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# group: rw auto quick
|
||||
#
|
||||
# Nolan II qcow2 corruption - wrong used cluster
|
||||
#
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# group: rw auto quick
|
||||
#
|
||||
# Test for AIO allocation on the same cluster
|
||||
#
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# group: auto quick
|
||||
#
|
||||
# Make sure we can open read-only images
|
||||
#
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# group: rw auto
|
||||
#
|
||||
# qcow2 pattern test, empty and compressed image - 4k cluster patterns
|
||||
#
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# group: rw
|
||||
#
|
||||
# qcow2 pattern test, complex patterns including compression and snapshots
|
||||
# Using patterns for 4k cluster size.
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# group: rw snapshot
|
||||
#
|
||||
# Combined test to grow the refcount table and test snapshots.
|
||||
#
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# group: rw backing auto quick
|
||||
#
|
||||
# Simple backing file reads
|
||||
#
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# group: rw backing auto quick
|
||||
#
|
||||
# Merge backing file into test image when converting the image
|
||||
#
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# group: rw backing auto quick
|
||||
#
|
||||
# When using a backing file for the output image in qemu-img convert,
|
||||
# the backing file clusters must not copied. The data must still be
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# group: rw backing auto quick
|
||||
#
|
||||
# Commit changes to backing file
|
||||
#
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# group: io auto quick
|
||||
#
|
||||
# Test handling of invalid patterns arguments to qemu-io
|
||||
#
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# group: rw snapshot auto
|
||||
#
|
||||
# Test bdrv_load/save_vmstate using the usual patterns
|
||||
#
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user