iotests/257: Refactor backup helpers
commit0af2a09c6baac5c9ee93b6e78dcc6bb029361620
authorJohn Snow <jsnow@redhat.com>
Mon, 29 Jul 2019 20:35:55 +0000 (29 16:35 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 16 Aug 2019 20:28:03 +0000 (16 16:28 -0400)
treef2e1a7dac83ab91d8ab0abf1c73378de9a8484c0
parent32afa5a1d4f2701a4fe7b67790b856caad22fe0c
iotests/257: Refactor backup helpers

This test needs support for non-bitmap backups and missing or
unspecified bitmap sync modes, so rewrite the helpers to be a little
more generic.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190716000117.25219-4-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
tests/qemu-iotests/257
tests/qemu-iotests/257.out