aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/206
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2020-06-25 14:55:35 +0200
committerMax Reitz <mreitz@redhat.com>2020-07-06 08:49:28 +0200
commitd2a839ede850bbb23493ac03b1c2477026fe6bc7 (patch)
tree87ec714814db9aa57432057855ce6d227c3b3b8b /tests/qemu-iotests/206
parent6649f4bd2920301e0ef0e8e14d10cf0e00b4071e (diff)
iotests: Check whether luks works
Whenever running an iotest for the luks format, we should check whether luks actually really works. Tests that try to create luks-encrypted qcow2 images should do the same. Signed-off-by: Max Reitz <mreitz@redhat.com> Message-Id: <20200625125548.870061-7-mreitz@redhat.com> Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/206')
-rwxr-xr-xtests/qemu-iotests/2061
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/206 b/tests/qemu-iotests/206
index f42432a838..11bc51f256 100755
--- a/tests/qemu-iotests/206
+++ b/tests/qemu-iotests/206
@@ -24,6 +24,7 @@ import iotests
from iotests import imgfmt
iotests.script_initialize(supported_fmts=['qcow2'])
+iotests.verify_working_luks()
with iotests.FilePath('t.qcow2') as disk_path, \
iotests.FilePath('t.qcow2.base') as backing_path, \