Skip to content
Snippets Groups Projects
Commit c88ee46c authored by Philippe Mathieu-Daudé's avatar Philippe Mathieu-Daudé
Browse files

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: default avatarVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Suggested-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
Suggested-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
Acked-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
Acked-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200130163232.10446-5-philmd@redhat.com>
Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
parent 903cb1bf
No related branches found
No related tags found
No related merge requests found
#!/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
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment