[libvirt] [PATCH] tests: build viridentitytest only WITH_ATTR.

Michal Privoznik mprivozn at redhat.com
Mon Apr 7 12:00:01 UTC 2014


On 04.04.2014 15:27, Jincheng Miao wrote:
> Commit d7c4e0036 assumed all SELinux tests depended upon
> securityselinuxhelper need xattr support, but forgot to
> move viridentitytest under WITH_ATTR.
>
> Reported-by: Nehal J Wani <nehaljw.kkd1 at gmail.com>
> Signed-off-by: Jincheng Miao <jmiao at redhat.com>
> ---
>   tests/Makefile.am | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/Makefile.am b/tests/Makefile.am
> index 6e15af8..7a15295 100644
> --- a/tests/Makefile.am
> +++ b/tests/Makefile.am
> @@ -146,7 +146,6 @@ test_programs = virshtest sockettest \
>   	virpcitest \
>   	virendiantest \
>   	virfiletest \
> -	viridentitytest \
>   	viriscsitest \
>   	virkeycodetest \
>   	virlockspacetest \
> @@ -188,7 +187,8 @@ endif WITH_DBUS
>
>   if WITH_SECDRIVER_SELINUX
>   if WITH_ATTR
> -test_programs += securityselinuxtest
> +test_programs += securityselinuxtest \
> +                 viridentitytest
>   if WITH_QEMU
>   test_programs += securityselinuxlabeltest
>   endif WITH_QEMU
>

ACKed an pushed.

Michal




More information about the libvir-list mailing list