diff options
author | John Snow <jsnow@redhat.com> | 2020-03-30 20:00:11 -0400 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2020-05-05 13:17:36 +0200 |
commit | 7d8140595f1e131935ba1c98a55af7d066660707 (patch) | |
tree | 7fb8868d0eb91767a398c726ac7b2eae193324fb /tests/qemu-iotests/248 | |
parent | 239bbcc0ae6ba24733839150955bdf8402e9ec55 (diff) | |
download | qemu-7d8140595f1e131935ba1c98a55af7d066660707.zip qemu-7d8140595f1e131935ba1c98a55af7d066660707.tar.gz qemu-7d8140595f1e131935ba1c98a55af7d066660707.tar.bz2 |
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/248')
-rwxr-xr-x | tests/qemu-iotests/248 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/248 b/tests/qemu-iotests/248 index 68c3746..18ba034 100755 --- a/tests/qemu-iotests/248 +++ b/tests/qemu-iotests/248 @@ -21,7 +21,7 @@ import iotests from iotests import qemu_img_create, qemu_io, file_path, filter_qmp_testfiles -iotests.verify_image_format(supported_fmts=['qcow2']) +iotests.script_initialize(supported_fmts=['qcow2']) source, target = file_path('source', 'target') size = 5 * 1024 * 1024 |