[Libguestfs] [p2v PATCH 4/5] tests: do not set libguestfs environment variables

Richard W.M. Jones rjones at redhat.com
Sat Jul 13 11:25:38 UTC 2019


On Fri, Jul 12, 2019 at 05:03:22PM +0200, Pino Toscano wrote:
> They are not needed now.
> ---
>  Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Makefile.am b/Makefile.am
> index 31c54c0..d359a5b 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -376,7 +376,7 @@ test-virt-p2v-pxe.sshd_config: test-virt-p2v-pxe.sshd_config.in
>  
>  test-virt-p2v-pxe.authorized_keys: test-virt-p2v-pxe.id_rsa.pub $(top_builddir)/run
>  	rm -f $@ $@-t
> -	$(top_builddir)/run sh -c 'echo -n environment=\"PATH=$$PATH\",environment=\"LD_LIBRARY_PATH=$(abs_top_builddir)/lib/.libs\",environment=\"LIBGUESTFS_PATH=$(abs_top_builddir)/appliance\",environment=\"LIBGUESTFS_CACHEDIR=$(abs_top_builddir)/tmp\"\ ' > $@-t
> +	$(top_builddir)/run sh -c 'echo -n environment=\"PATH=$$PATH\"\ ' > $@-t
>  	cat $< >> $@-t
>  	mv $@-t $@

I guess we test against the installed virt-v2v?  That's fine.

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