]> git.proxmox.com Git - mirror_qemu.git/commit - tests/test-blockjob.c
tests: Use opened block node for block job tests
authorKevin Wolf <kwolf@redhat.com>
Mon, 16 Jan 2017 16:17:38 +0000 (17:17 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 24 Feb 2017 15:09:23 +0000 (16:09 +0100)
commitd185cf0ec64cd183218ca7e0810d9130c96ebebc
tree17448da52da010b26a545507f5eec77c758a5b3c
parenta8a4d15c1c34d3cec704fb64eba4a3745a140a97
tests: Use opened block node for block job tests

blk_insert_bs() and block job related functions will soon require an
opened block node (permission calculations will involve the block
driver), so let our tests be consistent with the real users in this
respect.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
tests/test-blockjob-txn.c
tests/test-blockjob.c