提交 c88ee46c 编写于 作者: P Philippe Mathieu-Daudé

tests: Explicit usage of Python 3

Use the program search path to find the Python 3 interpreter.

Patch created mechanically by running:

  $ sed -i "s,^#\!/usr/bin/\(env\ \)\?python$,#\!/usr/bin/env python3," \
       $(git grep -l 'if __name__.*__main__')
Reported-by: NVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Suggested-by: NDaniel P. Berrangé <berrange@redhat.com>
Suggested-by: NStefan Hajnoczi <stefanha@redhat.com>
Acked-by: NStefan Hajnoczi <stefanha@redhat.com>
Acked-by: NPaolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200130163232.10446-5-philmd@redhat.com>
Signed-off-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
上级 903cb1bf
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Travis YAML config parser
#
......
#!/usr/bin/env python
#!/usr/bin/env python3
#
# QAPI parser test harness
#
......
#!/usr/bin/env python
#!/usr/bin/env python3
#
# CentOS image
#
......
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Fedora VM image
#
......
#!/usr/bin/env python
#!/usr/bin/env python3
#
# FreeBSD VM image
#
......
#!/usr/bin/env python
#!/usr/bin/env python3
#
# NetBSD VM image
#
......
#!/usr/bin/env python
#!/usr/bin/env python3
#
# OpenBSD VM image
#
......
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Ubuntu i386 image
#
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册