From: loli10K Date: Mon, 16 Sep 2019 17:44:51 +0000 (+0200) Subject: ZTS: Fix /usr/bin/env: 'python2': No such file or directory X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e15647ce9f404525eaa37c2bb95705f0caecd8a;p=zfs 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 Reviewed-by: Ryan Moeller Signed-off-by: loli10K Closes #9325 --- 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