summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/198
diff options
context:
space:
mode:
authorMax Reitz2020-06-25 14:55:35 +0200
committerMax Reitz2020-07-06 08:49:28 +0200
commitd2a839ede850bbb23493ac03b1c2477026fe6bc7 (patch)
tree87ec714814db9aa57432057855ce6d227c3b3b8b /tests/qemu-iotests/198
parentiotests.py: Add (verify|has)_working_luks() (diff)
downloadqemu-d2a839ede850bbb23493ac03b1c2477026fe6bc7.tar.gz
qemu-d2a839ede850bbb23493ac03b1c2477026fe6bc7.tar.xz
qemu-d2a839ede850bbb23493ac03b1c2477026fe6bc7.zip
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/198')
-rwxr-xr-xtests/qemu-iotests/1981
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/198 b/tests/qemu-iotests/198
index fb0d5a29d3..aeb059d5ea 100755
--- a/tests/qemu-iotests/198
+++ b/tests/qemu-iotests/198
@@ -39,6 +39,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt qcow2
_supported_proto generic
_supported_os Linux
+_require_working_luks
size=16M