On Tue, Feb 04, 2025 at 10:14:07PM +0100, Kevin Wolf wrote: > This tests different types of operations on inactive block nodes > (including graph changes, block jobs and NBD exports) to make sure that > users manually activating and inactivating nodes doesn't break things. > > Support for inactive nodes in other export types will have to come with > separate test cases because they have different dependencies like blkio > or root permissions and we don't want to disable this basic test when > they are not fulfilled. > > Signed-off-by: Kevin Wolf <kw...@redhat.com> > --- > tests/qemu-iotests/iotests.py | 4 + > tests/qemu-iotests/tests/inactive-node-nbd | 303 ++++++++++++++++++ > .../qemu-iotests/tests/inactive-node-nbd.out | 239 ++++++++++++++ > 3 files changed, 546 insertions(+) > create mode 100755 tests/qemu-iotests/tests/inactive-node-nbd > create mode 100644 tests/qemu-iotests/tests/inactive-node-nbd.out >
Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake, Principal Software Engineer Red Hat, Inc. Virtualization: qemu.org | libguestfs.org