From 20f5ce682e5b36b327bb640b251495d9a3385668 Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Tue, 12 May 2026 13:59:42 +0800 Subject: [PATCH] tests: /usr/bin/env shebang Not all distros have /usr/bin/python3. Using env is more portable. Signed-off-by: Daniel Schaefer --- tests/capture.py | 2 +- tests/create-driver-test.py.in | 2 +- tests/egismoc-0586/custom.py | 2 +- tests/egismoc-0587/custom.py | 2 +- tests/egismoc-05a1/custom.py | 2 +- tests/egismoc/custom.py | 2 +- tests/elanmoc/custom.py | 2 +- tests/focaltech_moc/custom.py | 2 +- tests/fpcmoc/custom.py | 2 +- tests/goodixmoc/custom.py | 2 +- tests/realtek-5816/custom.py | 2 +- tests/realtek/custom.py | 2 +- tests/synaptics/custom.py | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/tests/capture.py b/tests/capture.py index d6573a81..6cae527c 100755 --- a/tests/capture.py +++ b/tests/capture.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import cairo import sys diff --git a/tests/create-driver-test.py.in b/tests/create-driver-test.py.in index 64d96db4..f2818b06 100755 --- a/tests/create-driver-test.py.in +++ b/tests/create-driver-test.py.in @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 BUILDDIR='@BUILDDIR@' SRCDIR='@SRCDIR@' diff --git a/tests/egismoc-0586/custom.py b/tests/egismoc-0586/custom.py index 3a662380..b9afecfb 100755 --- a/tests/egismoc-0586/custom.py +++ b/tests/egismoc-0586/custom.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import traceback import sys diff --git a/tests/egismoc-0587/custom.py b/tests/egismoc-0587/custom.py index 3a662380..b9afecfb 100755 --- a/tests/egismoc-0587/custom.py +++ b/tests/egismoc-0587/custom.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import traceback import sys diff --git a/tests/egismoc-05a1/custom.py b/tests/egismoc-05a1/custom.py index 3a662380..b9afecfb 100755 --- a/tests/egismoc-05a1/custom.py +++ b/tests/egismoc-05a1/custom.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import traceback import sys diff --git a/tests/egismoc/custom.py b/tests/egismoc/custom.py index 3a662380..b9afecfb 100755 --- a/tests/egismoc/custom.py +++ b/tests/egismoc/custom.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import traceback import sys diff --git a/tests/elanmoc/custom.py b/tests/elanmoc/custom.py index 1a3b8b37..7edf58dd 100755 --- a/tests/elanmoc/custom.py +++ b/tests/elanmoc/custom.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import traceback import sys diff --git a/tests/focaltech_moc/custom.py b/tests/focaltech_moc/custom.py index ea722851..013bf3bc 100755 --- a/tests/focaltech_moc/custom.py +++ b/tests/focaltech_moc/custom.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import traceback import sys diff --git a/tests/fpcmoc/custom.py b/tests/fpcmoc/custom.py index 709ba93b..0bcc3c3f 100755 --- a/tests/fpcmoc/custom.py +++ b/tests/fpcmoc/custom.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import traceback import sys diff --git a/tests/goodixmoc/custom.py b/tests/goodixmoc/custom.py index 91922f1b..40335470 100755 --- a/tests/goodixmoc/custom.py +++ b/tests/goodixmoc/custom.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import traceback import sys diff --git a/tests/realtek-5816/custom.py b/tests/realtek-5816/custom.py index 15a71e2c..7a77a18d 100755 --- a/tests/realtek-5816/custom.py +++ b/tests/realtek-5816/custom.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import traceback import sys diff --git a/tests/realtek/custom.py b/tests/realtek/custom.py index 15a71e2c..7a77a18d 100755 --- a/tests/realtek/custom.py +++ b/tests/realtek/custom.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import traceback import sys diff --git a/tests/synaptics/custom.py b/tests/synaptics/custom.py index 5b4b1481..b66ad5c4 100755 --- a/tests/synaptics/custom.py +++ b/tests/synaptics/custom.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import os import gi