[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 52/67] iotests/234: Honor $IMGOPTS
From: |
Max Reitz |
Subject: |
[PATCH 52/67] iotests/234: Honor $IMGOPTS |
Date: |
Tue, 1 Oct 2019 21:47:00 +0200 |
Signed-off-by: Max Reitz <address@hidden>
---
tests/qemu-iotests/234 | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/tests/qemu-iotests/234 b/tests/qemu-iotests/234
index 3de6ab2341..f200af3f27 100755
--- a/tests/qemu-iotests/234
+++ b/tests/qemu-iotests/234
@@ -21,19 +21,20 @@
# that is built with individually created nodes
import iotests
+from iotests import create_test_image
import os
iotests.script_initialize(supported_fmts=['qcow2'])
-with iotests.FilePath('img') as img_path, \
- iotests.FilePath('backing') as backing_path, \
+with iotests.ImagePath('img') as img_path, \
+ iotests.ImagePath('backing') as backing_path, \
iotests.FilePath('mig_fifo_a') as fifo_a, \
iotests.FilePath('mig_fifo_b') as fifo_b, \
iotests.VM(path_suffix='a') as vm_a, \
iotests.VM(path_suffix='b') as vm_b:
- iotests.qemu_img_pipe('create', '-f', iotests.imgfmt, backing_path, '64M')
- iotests.qemu_img_pipe('create', '-f', iotests.imgfmt, img_path, '64M')
+ create_test_image(backing_path, '64M')
+ create_test_image(img_path, '64M')
os.mkfifo(fifo_a)
os.mkfifo(fifo_b)
--
2.21.0
- [PATCH 42/67] iotests/203: Honor $IMGOPTS, (continued)
- [PATCH 42/67] iotests/203: Honor $IMGOPTS, Max Reitz, 2019/10/01
- [PATCH 43/67] iotests/205: Honor $IMGOPTS, Max Reitz, 2019/10/01
- [PATCH 44/67] iotests/208: Honor $IMGOPTS, Max Reitz, 2019/10/01
- [PATCH 45/67] iotests/208: Honor $IMGOPTS, Max Reitz, 2019/10/01
- [PATCH 46/67] iotests/216: Honor $IMGOPTS, Max Reitz, 2019/10/01
- [PATCH 47/67] iotests/218: Honor $IMGOPTS, Max Reitz, 2019/10/01
- [PATCH 48/67] iotests/219: Honor $IMGOPTS, Max Reitz, 2019/10/01
- [PATCH 49/67] iotests/222: Honor $IMGOPTS, Max Reitz, 2019/10/01
- [PATCH 50/67] iotests/224: Honor $IMGOPTS, Max Reitz, 2019/10/01
- [PATCH 51/67] iotests/228: Honor $IMGOPTS, Max Reitz, 2019/10/01
- [PATCH 52/67] iotests/234: Honor $IMGOPTS,
Max Reitz <=
- [PATCH 53/67] iotests/235: Honor $IMGOPTS, Max Reitz, 2019/10/01
- [PATCH 54/67] iotests/236: Honor $IMGOPTS, Max Reitz, 2019/10/01
- [PATCH 55/67] iotests/237: Honor $IMGOPTS, Max Reitz, 2019/10/01
- [PATCH 56/67] iotests/242: Honor $IMGOPTS, Max Reitz, 2019/10/01
- [PATCH 57/67] iotests/245: Honor $IMGOPTS, Max Reitz, 2019/10/01
- [PATCH 59/67] iotests/248: Honor $IMGOPTS, Max Reitz, 2019/10/01
- [PATCH 58/67] iotests/246: Honor $IMGOPTS, Max Reitz, 2019/10/01
- [PATCH 60/67] iotests/254: Honor $IMGOPTS, Max Reitz, 2019/10/01
- [PATCH 61/67] iotests/255: Honor $IMGOPTS, Max Reitz, 2019/10/01
- [PATCH 62/67] iotests/256: Honor $IMGOPTS, Max Reitz, 2019/10/01