summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests
diff options
context:
space:
mode:
authorJohn Snow2018-07-13 19:37:21 +0200
committerKevin Wolf2018-07-23 16:50:43 +0200
commite05eb9f29b762cd33d38b712c8c26a432dacf45c (patch)
treed503006bb348c9f6db65f16fe39942ac3242246e /tests/qemu-iotests
parentqemu-img: avoid overflow of min_sparse parameter (diff)
downloadqemu-e05eb9f29b762cd33d38b712c8c26a432dacf45c.tar.gz
qemu-e05eb9f29b762cd33d38b712c8c26a432dacf45c.tar.xz
qemu-e05eb9f29b762cd33d38b712c8c26a432dacf45c.zip
iotests: remove LUKS support from test 226
This test doesn't actually care about the format anyway, it just supports "all formats" as a convenience. LUKS however does not use a simple image filename which confuses this iotest. We can simply skip the test for formats that use IMGOPTSSYNTAX for their filenames without missing much coverage. Signed-off-by: John Snow <jsnow@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests')
-rwxr-xr-xtests/qemu-iotests/2263
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/qemu-iotests/226 b/tests/qemu-iotests/226
index 460aea2fc9..34987d43f9 100755
--- a/tests/qemu-iotests/226
+++ b/tests/qemu-iotests/226
@@ -41,6 +41,9 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# Generic format, but tests file-protocol specific error handling
_supported_fmt generic
+if [ "$IMGOPTSSYNTAX" = "true" ]; then
+ _unsupported_fmt $IMGFMT
+fi
_supported_proto file
_supported_os Linux