summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/013
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/013')
-rwxr-xr-xtests/qemu-iotests/0134
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qemu-iotests/013 b/tests/qemu-iotests/013
index ce13218ceb..fda6ce1ffc 100755
--- a/tests/qemu-iotests/013
+++ b/tests/qemu-iotests/013
@@ -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