[Libguestfs] [PATCH 1/3] v2v: tests: check generated OVF

Richard W.M. Jones rjones at redhat.com
Tue Feb 20 10:18:04 UTC 2018


On Sun, Feb 18, 2018 at 03:26:08PM +0100, Tomáš Golembiovský wrote:
> Check the generated OVF for -o rhv and -o vdsm outputs. Variable UUIDs
> and date/times are filtered out. Make sure the the important UUIDs
> (disk, volume, VM) are where we think they should be.
> 
> Signed-off-by: Tomáš Golembiovský <tgolembi at redhat.com>
> ---
>  v2v/test-v2v-o-rhv.ovf.expected          | 92 ++++++++++++++++++++++++++++++++
>  v2v/test-v2v-o-rhv.sh                    | 20 +++++++
>  v2v/test-v2v-o-vdsm-options.ovf.expected | 92 ++++++++++++++++++++++++++++++++
>  v2v/test-v2v-o-vdsm-options.sh           | 16 ++++++

The tests fail for me because my version of virt-v2v does not use this
exact string:

> +  <!-- generated by virt-v2v 1.38.0 -->

Also you need to add at least some of these files to v2v/Makefile.am
EXTRA_DIST (the second long list in the file).

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v




More information about the Libguestfs mailing list