summaryrefslogtreecommitdiff
path: root/tools/patman/func_test.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-05-10 13:04:57 +0200
committerSimon Glass <sjg@chromium.org>2025-05-27 10:07:42 +0100
commit77177ba82f12e8b4422c23414d7a68ba9a3f6e20 (patch)
tree4534e8344367d069bacbe95e3557c2e08b3aeb06 /tools/patman/func_test.py
parent31a1c4c9d840d4a311c8a7499a18861d351c80ac (diff)
patman: Use python3 with /usr/bin/env
If python2 is available then we must specify python3 here. Update the test to handle this. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/func_test.py')
-rw-r--r--tools/patman/func_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/patman/func_test.py b/tools/patman/func_test.py
index 00aed8786e8..da81101ea93 100644
--- a/tools/patman/func_test.py
+++ b/tools/patman/func_test.py
@@ -637,7 +637,7 @@ complicated as possible''')
'check_patch: False\n'
'add_maintainers: True\n', binary=False)
tools.write_file('dummy-script.sh',
- '#!/usr/bin/env python\n'
+ '#!/usr/bin/env python3\n'
'print("hello@there.com")\n', binary=False)
os.chmod('dummy-script.sh', 0x555)
tools.run('git', 'add', '.')