summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/050
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/050')
-rwxr-xr-xtests/qemu-iotests/0508
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/qemu-iotests/050 b/tests/qemu-iotests/050
index 211fc00797..cdc5356541 100755
--- a/tests/qemu-iotests/050
+++ b/tests/qemu-iotests/050
@@ -29,8 +29,8 @@ status=1 # failure is the default!
_cleanup()
{
_cleanup_test_img
- rm -f "$TEST_IMG.old"
- rm -f "$TEST_IMG.new"
+ _rm_test_img "$TEST_IMG.old"
+ _rm_test_img "$TEST_IMG.new"
}
trap "_cleanup; exit \$status" 0 1 2 3 15
@@ -41,10 +41,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2 qed
_supported_proto file
-if test "$IMGFMT" = qcow2 && test $IMGOPTS = ""; then
- IMGOPTS=compat=1.1
-fi
-
echo
echo "== Creating images =="