tests/qemu-iotests: Explicit usage of Python3 (scripts without __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 -lF '#!/usr/bin/env python' \ | xargs 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-11-philmd@redhat.com> Signed-off-by:
Philippe Mathieu-Daudé <philmd@redhat.com>
Showing
- tests/qemu-iotests/149 1 addition, 1 deletiontests/qemu-iotests/149
- tests/qemu-iotests/194 1 addition, 1 deletiontests/qemu-iotests/194
- tests/qemu-iotests/202 1 addition, 1 deletiontests/qemu-iotests/202
- tests/qemu-iotests/203 1 addition, 1 deletiontests/qemu-iotests/203
- tests/qemu-iotests/206 1 addition, 1 deletiontests/qemu-iotests/206
- tests/qemu-iotests/207 1 addition, 1 deletiontests/qemu-iotests/207
- tests/qemu-iotests/208 1 addition, 1 deletiontests/qemu-iotests/208
- tests/qemu-iotests/209 1 addition, 1 deletiontests/qemu-iotests/209
- tests/qemu-iotests/210 1 addition, 1 deletiontests/qemu-iotests/210
- tests/qemu-iotests/211 1 addition, 1 deletiontests/qemu-iotests/211
- tests/qemu-iotests/212 1 addition, 1 deletiontests/qemu-iotests/212
- tests/qemu-iotests/213 1 addition, 1 deletiontests/qemu-iotests/213
- tests/qemu-iotests/216 1 addition, 1 deletiontests/qemu-iotests/216
- tests/qemu-iotests/218 1 addition, 1 deletiontests/qemu-iotests/218
- tests/qemu-iotests/219 1 addition, 1 deletiontests/qemu-iotests/219
- tests/qemu-iotests/222 1 addition, 1 deletiontests/qemu-iotests/222
- tests/qemu-iotests/224 1 addition, 1 deletiontests/qemu-iotests/224
- tests/qemu-iotests/228 1 addition, 1 deletiontests/qemu-iotests/228
- tests/qemu-iotests/234 1 addition, 1 deletiontests/qemu-iotests/234
- tests/qemu-iotests/235 1 addition, 1 deletiontests/qemu-iotests/235
Loading
Please register or sign in to comment