[libvirt] [PATCH] Let test_virtlockd.aug find the libvird augeas lense

Eric Blake eblake at redhat.com
Thu Aug 29 19:16:02 UTC 2013


On 08/29/2013 11:53 AM, Guido Günther wrote:
> Otherwise we fail "make check" like:
> 
>     GEN      check-augeas-virtlockd
>     Syntax error in lens definition
>     test_virtlockd.aug:8.8-.20:Could not load module Libvirtd for Libvirtd.lns
>     test_virtlockd.aug:8.8-.20:Undefined variable Libvirtd.lns
> 
> This doesn't show up on systems where libvirtd (and it's lenses) are
> installed but in a clean chroot.
> ---
>  src/Makefile.am | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Seems incomplete.  If this is needed for test_virtlockd.aug, it should
be needed for ALL our $(AUGPARSE) clients.  (test_libvirtd_qemu.aug,
test_libvirtd_lxc.aug, ...)

> 
> diff --git a/src/Makefile.am b/src/Makefile.am
> index d8b943d..bf2ec79 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -1675,7 +1675,8 @@ check-augeas-lockd: test_libvirt_lockd.aug
>  
>  check-augeas-virtlockd: test_virtlockd.aug
>  	$(AM_V_GEN)if test -x '$(AUGPARSE)'; then \
> -	    '$(AUGPARSE)' -I $(srcdir)/locking test_virtlockd.aug; \
> +	    '$(AUGPARSE)' -I $(top_srcdir)/daemon/ \
> +	                  -I $(srcdir)/locking test_virtlockd.aug; \
>  	fi

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130829/44e06373/attachment-0001.sig>


More information about the libvir-list mailing list