[libvirt] [dbus PATCH] tests: Fix sha-bang for test_interface.py

Andrea Bolognani abologna at redhat.com
Wed Jul 25 11:22:19 UTC 2018


We need to call python3 through /usr/bin/env so that
the script will work on platforms, such as FreeBSD, where
the interpreter is installed under a different path.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
Pushed under the build-breaker rule.

 tests/test_interface.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_interface.py b/tests/test_interface.py
index 9503eef..3b8b344 100755
--- a/tests/test_interface.py
+++ b/tests/test_interface.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 
 import dbus
 import libvirttest
-- 
2.17.1




More information about the libvir-list mailing list