summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/274
diff options
context:
space:
mode:
authorJohn Snow2020-03-31 02:00:11 +0200
committerMax Reitz2020-05-05 13:17:36 +0200
commit7d8140595f1e131935ba1c98a55af7d066660707 (patch)
tree7fb8868d0eb91767a398c726ac7b2eae193324fb /tests/qemu-iotests/274
parentiotests: add hmp helper with logging (diff)
downloadqemu-7d8140595f1e131935ba1c98a55af7d066660707.tar.gz
qemu-7d8140595f1e131935ba1c98a55af7d066660707.tar.xz
qemu-7d8140595f1e131935ba1c98a55af7d066660707.zip
iotests: add script_initialize
Like script_main, but doesn't require a single point of entry. Replace all existing initialization sections with this drop-in replacement. This brings debug support to all existing script-style iotests. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-Id: <20200331000014.11581-12-jsnow@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> [mreitz: Give 274 the same treatment] Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/274')
-rwxr-xr-xtests/qemu-iotests/2744
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qemu-iotests/274 b/tests/qemu-iotests/274
index e951f723b8..5d1bf34dff 100755
--- a/tests/qemu-iotests/274
+++ b/tests/qemu-iotests/274
@@ -21,8 +21,8 @@
import iotests
-iotests.verify_image_format(supported_fmts=['qcow2'])
-iotests.verify_platform(['linux'])
+iotests.script_initialize(supported_fmts=['qcow2'],
+ supported_platforms=['linux'])
size_short = 1 * 1024 * 1024
size_long = 2 * 1024 * 1024