Signed-off-by: Max Reitz <[email protected]>
---
tests/qemu-iotests/044 | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/qemu-iotests/044 b/tests/qemu-iotests/044
index 97ba98e628..a5e13751e1 100755
--- a/tests/qemu-iotests/044
+++ b/tests/qemu-iotests/044
@@ -23,7 +23,7 @@ import os
import qcow2
from qcow2 import QcowHeader
import iotests
-from iotests import qemu_img, qemu_img_verbose, qemu_io
+from iotests import create_test_image, remove_test_image, qemu_img_verbose,
qemu_io
import struct
import subprocess
import sys
@@ -100,13 +100,13 @@ class TestRefcountTableGrowth(iotests.QMPTestCase):
def setUp(self):
- qemu_img('create', '-f', iotests.imgfmt, '-o', 'cluster_size=512',
test_img, '16G')
+ create_test_image(test_img, '16G', opts=['cluster_size=512'])
self.preallocate(test_img)
pass
def tearDown(self):
- os.remove(test_img)
+ remove_test_image(test_img)
pass
def test_grow_refcount_table(self):
--
2.21.0