[libvirt] [dbus PATCH] test: Don't hardcode python3 path

Pavel Hrdina phrdina at redhat.com
Thu Apr 5 14:46:29 UTC 2018


On Thu, Apr 05, 2018 at 03:51:17PM +0200, Andrea Bolognani wrote:
> Using /usr/bin/python3 is fine for Linux, but it's not portable
> to other operating systems such as FreeBSD, where the binary
> lives under /usr/local/bin instead.
> 
> Use /usr/bin/env to abstract the issue away. With this, 'make
> check' completes successfully on FreeBSD 10, 11 and -CURRENT.
> 
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> ---
>  test/test_connect.py | 2 +-
>  test/test_domain.py  | 2 +-
>  test/test_network.py | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180405/af6705ee/attachment-0001.sig>


More information about the libvir-list mailing list