]> Git Repo - qemu.git/commitdiff
iotests: remove LUKS support from test 226
authorJohn Snow <[email protected]>
Fri, 13 Jul 2018 17:37:21 +0000 (13:37 -0400)
committerKevin Wolf <[email protected]>
Mon, 23 Jul 2018 14:50:43 +0000 (16:50 +0200)
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 <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
tests/qemu-iotests/226

index 460aea2fc90c472899b3f947c2714c45b8379560..34987d43f9b19c12b3155f93340c1333f7e44723 100755 (executable)
@@ -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
 
This page took 0.027412 seconds and 4 git commands to generate.