summaryrefslogtreecommitdiffstats
path: root/tests/vm/ubuntu.i386
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-01-30 17:32:24 +0100
committerPhilippe Mathieu-Daudé2020-02-07 15:12:48 +0100
commitc88ee46cdb9888fbe9ea45c174743d6f7544b737 (patch)
tree4ac5ee701147f26ffe2dbc88b01f13c62a63a163 /tests/vm/ubuntu.i386
parenttests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__) (diff)
downloadqemu-c88ee46cdb9888fbe9ea45c174743d6f7544b737.tar.gz
qemu-c88ee46cdb9888fbe9ea45c174743d6f7544b737.tar.xz
qemu-c88ee46cdb9888fbe9ea45c174743d6f7544b737.zip
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: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Suggested-by: Daniel P. Berrangé <berrange@redhat.com> Suggested-by: Stefan Hajnoczi <stefanha@redhat.com> Acked-by: Stefan Hajnoczi <stefanha@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20200130163232.10446-5-philmd@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'tests/vm/ubuntu.i386')
-rwxr-xr-xtests/vm/ubuntu.i3862
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vm/ubuntu.i386 b/tests/vm/ubuntu.i386
index 3834cd7a8d..48e9cb1ad3 100755
--- a/tests/vm/ubuntu.i386
+++ b/tests/vm/ubuntu.i386
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# Ubuntu i386 image
#