iotests: Basic tests for internal snapshots
commitbb6e2511eb48539b7dcbcb5f47772e156b9c45d1
authorKevin Wolf <kwolf@redhat.com>
Fri, 1 Dec 2023 14:25:20 +0000 (1 15:25 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 21 Dec 2023 21:49:27 +0000 (21 22:49 +0100)
tree11fe0f19c59eca1b8dd3b02eaa36ccc311525ee9
parent5a7f21efaf99c60614fe1967be1c0f9aa46c526e
iotests: Basic tests for internal snapshots

We have a few test cases that include tests for corner case aspects of
internal snapshots, but nothing that tests that they actually function
as snapshots or that involves deleting a snapshot. Add a test for this
kind of basic internal snapshot functionality.

The error cases include a regression test for the crash we just fixed
with snapshot operations on inactive images.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20231201142520.32255-4-kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/tests/qcow2-internal-snapshots [new file with mode: 0755]
tests/qemu-iotests/tests/qcow2-internal-snapshots.out [new file with mode: 0644]