aboutsummaryrefslogtreecommitdiffstats
path: root/tools/tests
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-08-24 17:16:03 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-08-25 15:41:13 +0200
commit157dd3f1c90fd928c21403113e0e7ab82b9be7c8 (patch)
treec0cee128cd2c72301647b327fd41da63e09af0cc /tools/tests
parentcae1fcac20d21b736d4c77985b8e11775711a563 (diff)
downloadhardware_replicant_libsamsung-ipc-157dd3f1c90fd928c21403113e0e7ab82b9be7c8.tar.gz
hardware_replicant_libsamsung-ipc-157dd3f1c90fd928c21403113e0e7ab82b9be7c8.tar.bz2
hardware_replicant_libsamsung-ipc-157dd3f1c90fd928c21403113e0e7ab82b9be7c8.zip
python tests: use python3
Using python instead of python3 has several issues: - Distributions and users can choose python2 as their default python interpreter. For users this can be done by making a symlink in /usr/local for instance. - Guix doesn't have python but has python3 in the PATH. Changing to python3 makes tests work for Guix system users that use the scripts/manifest.scm file with guix shell / guix environment. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'tools/tests')
-rwxr-xr-xtools/tests/nv_data-imei.py2
-rwxr-xr-xtools/tests/nv_data-md5.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/tests/nv_data-imei.py b/tools/tests/nv_data-imei.py
index 1dbebb7..3447690 100755
--- a/tools/tests/nv_data-imei.py
+++ b/tools/tests/nv_data-imei.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# This file is part of libsamsung-ipc.
#
diff --git a/tools/tests/nv_data-md5.py b/tools/tests/nv_data-md5.py
index b97bdd1..374ded2 100755
--- a/tools/tests/nv_data-md5.py
+++ b/tools/tests/nv_data-md5.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
#
# This file is part of libsamsung-ipc.
#