summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/178
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/178
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/178')
-rwxr-xr-xtests/qemu-iotests/1781
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/178 b/tests/qemu-iotests/178
index 7cf0e27154..f09b27caac 100755
--- a/tests/qemu-iotests/178
+++ b/tests/qemu-iotests/178
@@ -41,6 +41,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt raw qcow2
_supported_proto file
_supported_os Linux
+_require_working_luks
echo "== Input validation =="
echo