[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 07/12] tests/acceptance: Remove shebang header
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v2 07/12] tests/acceptance: Remove shebang header |
Date: |
Thu, 30 Jan 2020 17:32:27 +0100 |
Patch created mechanically by running:
$ chmod 644 $(git grep -lF '#!/usr/bin/env python' \
| xargs grep -L 'if __name__.*__main__')
$ sed -i "/^#\!\/usr\/bin\/\(env\ \)\?python.\?$/d" \
$(git grep -lF '#!/usr/bin/env python' \
| xargs grep -L 'if __name__.*__main__')
Reported-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Suggested-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Wainer dos Santos Moschetta <address@hidden>
Acked-by: Stefan Hajnoczi <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
tests/acceptance/virtio_seg_max_adjust.py | 1 -
tests/acceptance/x86_cpu_model_versions.py | 1 -
2 files changed, 2 deletions(-)
mode change 100755 => 100644 tests/acceptance/virtio_seg_max_adjust.py
diff --git a/tests/acceptance/virtio_seg_max_adjust.py
b/tests/acceptance/virtio_seg_max_adjust.py
old mode 100755
new mode 100644
index 5458573138..8d4f24da49
--- a/tests/acceptance/virtio_seg_max_adjust.py
+++ b/tests/acceptance/virtio_seg_max_adjust.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
#
# Test virtio-scsi and virtio-blk queue settings for all machine types
#
diff --git a/tests/acceptance/x86_cpu_model_versions.py
b/tests/acceptance/x86_cpu_model_versions.py
index 90558d9a71..01ff614ec2 100644
--- a/tests/acceptance/x86_cpu_model_versions.py
+++ b/tests/acceptance/x86_cpu_model_versions.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
#
# Basic validation of x86 versioned CPU models and CPU model aliases
#
--
2.21.1
- [PATCH v2 00/12] python: Explicit usage of Python 3, Philippe Mathieu-Daudé, 2020/01/30
- [PATCH v2 01/12] scripts/checkpatch.pl: Only allow Python 3 interpreter, Philippe Mathieu-Daudé, 2020/01/30
- [PATCH v2 02/12] tests/qemu-iotests/check: Allow use of python3 interpreter, Philippe Mathieu-Daudé, 2020/01/30
- [PATCH v2 03/12] tests/qemu-iotests: Explicit usage of Python 3 (scripts with __main__), Philippe Mathieu-Daudé, 2020/01/30
- [PATCH v2 04/12] tests: Explicit usage of Python 3, Philippe Mathieu-Daudé, 2020/01/30
- [PATCH v2 05/12] scripts: Explicit usage of Python 3 (scripts with __main__), Philippe Mathieu-Daudé, 2020/01/30
- [PATCH v2 06/12] scripts/minikconf: Explicit usage of Python 3, Philippe Mathieu-Daudé, 2020/01/30
- [PATCH v2 07/12] tests/acceptance: Remove shebang header,
Philippe Mathieu-Daudé <=
- [PATCH v2 08/12] scripts/tracetool: Remove shebang header, Philippe Mathieu-Daudé, 2020/01/30
- [PATCH v2 09/12] tests/vm: Remove shebang header, Philippe Mathieu-Daudé, 2020/01/30
- [PATCH v2 10/12] tests/qemu-iotests: Explicit usage of Python3 (scripts without __main__), Philippe Mathieu-Daudé, 2020/01/30
- [PATCH v2 11/12] scripts: Explicit usage of Python 3 (scripts without __main__), Philippe Mathieu-Daudé, 2020/01/30
- [PATCH v2 12/12] tests/qemu-iotests/check: Only check for Python 3 interpreter, Philippe Mathieu-Daudé, 2020/01/30