iotests: add 208 nbd-server + blockdev-snapshot-sync test case
authorStefan Hajnoczi <stefanha@redhat.com>
Mon, 12 Mar 2018 21:04:39 +0000 (16:04 -0500)
committerEric Blake <eblake@redhat.com>
Tue, 13 Mar 2018 20:38:55 +0000 (15:38 -0500)
commit44a8174e0a2919693dc28f19c3ce8eef6d4ac2c3
tree9c1a183e38140cab4a9c5b2c1ccc0e9885c8e4d1
parentd03654eacdf35f436fbe78ca46cea215d5165ab5
iotests: add 208 nbd-server + blockdev-snapshot-sync test case

This test case adds an NBD server export and then invokes
blockdev-snapshot-sync, which changes the BlockDriverState node that the
NBD server's BlockBackend points to.  This is an interesting scenario to
test and exercises the code path fixed by the previous commit.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20180306204819.11266-3-stefanha@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
tests/qemu-iotests/208 [new file with mode: 0755]
tests/qemu-iotests/208.out [new file with mode: 0644]
tests/qemu-iotests/group