On 11/03/2015 03:32 AM, Alberto Garcia wrote: > This test checks that it is not possible to create a snapshot if the > requested overlay node is a BDS which does not support backing images. > > Signed-off-by: Alberto Garcia <[email protected]> > --- > tests/qemu-iotests/085 | 12 +++++++++++- > tests/qemu-iotests/085.out | 4 ++++ > 2 files changed, 15 insertions(+), 1 deletion(-) >
> +++ b/tests/qemu-iotests/085.out
> @@ -62,6 +62,10 @@ Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
> backing_file=TEST_DIR/
> {"return": {}}
> {"return": {}}
>
> +=== Invalid command - cannot create a snapshot using a file BDS ===
> +
> +{"error": {"class": "GenericError", "desc": "The snapshot does not support
> backing images"}}
This message could use improvement; more on that in 1/3.
Reviewed-by: Eric Blake <[email protected]>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
