summary refs log tree commit diff stats
path: root/tests/qemu-iotests/178
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/178')
-rwxr-xr-xtests/qemu-iotests/1786
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/qemu-iotests/178 b/tests/qemu-iotests/178
index 21231cadd3..51a70fe669 100755
--- a/tests/qemu-iotests/178
+++ b/tests/qemu-iotests/178
@@ -29,7 +29,7 @@ status=1    # failure is the default!
 _cleanup()
 {
     _cleanup_test_img
-    rm -f "$TEST_IMG.converted"
+    _rm_test_img "$TEST_IMG.converted"
 }
 trap "_cleanup; exit \$status" 0 1 2 3 15
 
@@ -62,8 +62,8 @@ $QEMU_IMG measure -O foo "$TEST_IMG" # unknown image file format
 
 make_test_img_with_fmt() {
     # Shadow global variables within this function
-    local IMGFMT="$1" IMGOPTS=""
-    _make_test_img "$2"
+    local IMGFMT="$1"
+    _make_test_img --no-opts "$2"
 }
 
 qemu_io_with_fmt() {