iotests: 222: Don't run with luks
PATCH 1/1 iotests: 222: Don't run with luks
Luks needs special parameters to operate the image. Since this test is focusing on image fleecing, skip skip that format.
--- tests/qemu-iotests/222 | 2 ++ 1 file changed, 2 insertions(+)
tests/qemu-iotests/222 +2 -0
@@ -25,6 +25,8 @@ import iotests from iotests import log, qemu_img, qemu_io, qemu_io_silent iotests.verify_platform(['linux']) +iotests.verify_image_format(supported_fmts=['qcow2', 'qcow', 'qed', 'vmdk', + 'vhdx', 'raw']) patterns = [("0x5d", "0", "64k"), ("0xd5", "1M", "64k"),
Signature · 1 line
2.17.1
Kevin Wolf
AppliedAm 10.07.2018 um 11:38 hat Fam Zheng geschrieben:
Quoted 4 lines
Luks needs special parameters to operate the image. Since this test is focusing on image fleecing, skip skip that format.
Signed-off-by Fam Zheng <[email protected]>
Thanks, applied to the block branch.
Kevin
Quoted 14 lines · Fam Zheng
Luks needs special parameters to operate the image. Since this test is focusing on image fleecing, skip skip that format.
Signed-off-by Fam Zheng <[email protected]>--- tests/qemu-iotests/222 | 2 ++ 1 file changed, 2 insertions(+)tests/qemu-iotests/222 +0
-0
tests/qemu-iotests/222 import iotests · line 32
Quoted 8 lines
tests/qemu-iotests/222 +2
-0@@ -25,6 +25,8 @@ import iotests from iotests import log, qemu_img, qemu_io, qemu_io_silent iotests.verify_platform(['linux']) +iotests.verify_image_format(supported_fmts=['qcow2', 'qcow', 'qed', 'vmdk', + 'vhdx', 'raw']) patterns = [("0x5d", "0", "64k"), ("0xd5", "1M", "64k"),
Ah; do we not have a nicer way to exclude just one format? Evidently not.
Apologies for breaking LUKS.
--js
Am 10.07.2018 um 17:34 hat John Snow geschrieben:
Quoted 22 lines · Fam Zheng
Quoted 19 lines
Luks needs special parameters to operate the image. Since this test is focusing on image fleecing, skip skip that format.
Signed-off-by Fam Zheng <[email protected]>--- tests/qemu-iotests/222 | 2 ++ 1 file changed, 2 insertions(+)tests/qemu-iotests/222 +2
-0@@ -25,6 +25,8 @@ import iotests from iotests import log, qemu_img, qemu_io, qemu_io_silent iotests.verify_platform(['linux']) +iotests.verify_image_format(supported_fmts=['qcow2', 'qcow', 'qed', 'vmdk', + 'vhdx', 'raw'])
Quoted 5 lines
tests/qemu-iotests/222 import iotests · line 32
Quoted 3 lines
tests/qemu-iotests/222 +0
-0patterns = [("0x5d", "0", "64k"), ("0xd5", "1M", "64k"),Ah; do we not have a nicer way to exclude just one format? Evidently not.
iotest.verify_image_format() has an argument unsupported_fmts, but I think a whitelist is better anyway.
Kevin