tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__)
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-4-philmd@redhat.com> Signed-off-by:
Philippe Mathieu-Daudé <philmd@redhat.com>
Showing
- tests/qemu-iotests/030 1 addition, 1 deletiontests/qemu-iotests/030
- tests/qemu-iotests/040 1 addition, 1 deletiontests/qemu-iotests/040
- tests/qemu-iotests/041 1 addition, 1 deletiontests/qemu-iotests/041
- tests/qemu-iotests/044 1 addition, 1 deletiontests/qemu-iotests/044
- tests/qemu-iotests/045 1 addition, 1 deletiontests/qemu-iotests/045
- tests/qemu-iotests/055 1 addition, 1 deletiontests/qemu-iotests/055
- tests/qemu-iotests/056 1 addition, 1 deletiontests/qemu-iotests/056
- tests/qemu-iotests/057 1 addition, 1 deletiontests/qemu-iotests/057
- tests/qemu-iotests/065 1 addition, 1 deletiontests/qemu-iotests/065
- tests/qemu-iotests/093 1 addition, 1 deletiontests/qemu-iotests/093
- tests/qemu-iotests/096 1 addition, 1 deletiontests/qemu-iotests/096
- tests/qemu-iotests/118 1 addition, 1 deletiontests/qemu-iotests/118
- tests/qemu-iotests/124 1 addition, 1 deletiontests/qemu-iotests/124
- tests/qemu-iotests/129 1 addition, 1 deletiontests/qemu-iotests/129
- tests/qemu-iotests/132 1 addition, 1 deletiontests/qemu-iotests/132
- tests/qemu-iotests/136 1 addition, 1 deletiontests/qemu-iotests/136
- tests/qemu-iotests/139 1 addition, 1 deletiontests/qemu-iotests/139
- tests/qemu-iotests/147 1 addition, 1 deletiontests/qemu-iotests/147
- tests/qemu-iotests/148 1 addition, 1 deletiontests/qemu-iotests/148
- tests/qemu-iotests/151 1 addition, 1 deletiontests/qemu-iotests/151
Loading
Please register or sign in to comment