mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
qemu-iotests: make a few more tests generic
Pretend that a non-implemented check is always successful and thus allow various tests that were qcow2-specific before to be generic. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
e021915abd
commit
e76a8e893d
8 changed files with 10 additions and 9 deletions
|
@ -42,7 +42,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
|
|||
. ./common.pattern
|
||||
|
||||
# much of this could be generic for any format supporting compression.
|
||||
_supported_fmt qcow2
|
||||
_supported_fmt qcow qcow2
|
||||
_supported_os Linux
|
||||
|
||||
TEST_OFFSETS="0 4294967296"
|
||||
|
@ -66,7 +66,7 @@ echo "Compressing image"
|
|||
echo
|
||||
|
||||
mv $TEST_IMG $TEST_IMG.orig
|
||||
$QEMU_IMG convert -f qcow2 -O qcow2 -c $TEST_IMG.orig $TEST_IMG
|
||||
$QEMU_IMG convert -f $IMGFMT -O $IMGFMT -c $TEST_IMG.orig $TEST_IMG
|
||||
|
||||
echo "Testing compressed image"
|
||||
echo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue