]> git.proxmox.com Git - zfsonlinux.git/blame - debian/patches/0008-test-runner.py-change-shebang-to-python3.patch
update submodule to zfs-0.8.1
[zfsonlinux.git] / debian / patches / 0008-test-runner.py-change-shebang-to-python3.patch
CommitLineData
9e02600b
SI
1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2From: Stoiko Ivanov <s.ivanov@proxmox.com>
3Date: Thu, 23 May 2019 15:22:27 +0200
4Subject: [PATCH] test-runner.py: change shebang to python3
5
6In commit 6e72a5b9b61066146deafda39ab8158c559f5f15 python scripts which
7work with python2 and python3 changed the shebang from /usr/bin/python
8to /usr/bin/python3. This gets adapted by the build-system on systems
9which don't provide python3.
10This commit changes test-runner.py to also use /usr/bin/python3,
11enabling the change during buildtime and fixing a minor lintian issue
12on Debian systems, which only have python3 installed.
13
14Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
15---
16 tests/test-runner/bin/test-runner.py | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/tests/test-runner/bin/test-runner.py b/tests/test-runner/bin/test-runner.py
20index ea37e8ab6..4d4fd96ad 100755
21--- a/tests/test-runner/bin/test-runner.py
22+++ b/tests/test-runner/bin/test-runner.py
23@@ -1,4 +1,4 @@
24-#!/usr/bin/python
25+#!/usr/bin/python3
26
27 #
28 # This file and its contents are supplied under the terms of the