]> granicus.if.org Git - zfs/commitdiff
test-runner.py: change shebang to python3
authorStoiko Ivanov <s.ivanov@proxmox.com>
Thu, 23 May 2019 13:22:27 +0000 (15:22 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 28 May 2019 22:06:07 +0000 (15:06 -0700)
In commit 6e72a5b9b61066146deafda39ab8158c559f5f15 python scripts which
work with python2 and python3 changed the shebang from /usr/bin/python
to /usr/bin/python3. This gets adapted by the build-system on systems
which don't provide python3.
This commit changes test-runner.py to also use /usr/bin/python3,
enabling the change during buildtime and fixing a minor lintian issue
for those Debian packages, which depend on a specific python version
(python3/python2).

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Reviewed by: John Kennedy <john.kennedy@delphix.com>
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Closes #8803

tests/test-runner/bin/test-runner.py

index ea37e8ab6f88852a044cca1663937046146069b2..4d4fd96ad7716f9ee309a990413614cb622a1500 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 #
 # This file and its contents are supplied under the terms of the