summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorloli10K <[email protected]>2019-09-16 19:44:51 +0200
committerBrian Behlendorf <[email protected]>2019-09-16 10:44:51 -0700
commit7e15647ce9f404525eaa37c2bb95705f0caecd8a (patch)
tree703fb07b42d4e8bdde4ee2021679a5580d1607d7 /tests
parent637f0c6019a67b7cc3f548ec254c5c55e2d1ef1e (diff)
ZTS: Fix /usr/bin/env: 'python2': No such file or directory
Since 4f342e45 env(1) must be able to find a "python2" executable in the "constrained path" on systems configured with --with-python=2.x otherwise the ZFS Test Suite won't be able to use Python scripts. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Signed-off-by: loli10K <[email protected]> Closes #9325
Diffstat (limited to 'tests')
-rw-r--r--tests/zfs-tests/include/commands.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/zfs-tests/include/commands.cfg b/tests/zfs-tests/include/commands.cfg
index f8ad02246..52758a1aa 100644
--- a/tests/zfs-tests/include/commands.cfg
+++ b/tests/zfs-tests/include/commands.cfg
@@ -96,6 +96,7 @@ export SYSTEM_FILES='arp
ps
pwd
python
+ python2
python3
quotaon
readlink