From 7e15647ce9f404525eaa37c2bb95705f0caecd8a Mon Sep 17 00:00:00 2001 From: loli10K Date: Mon, 16 Sep 2019 19:44:51 +0200 Subject: [PATCH] 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 --- tests/zfs-tests/include/commands.cfg | 1 + 1 file changed, 1 insertion(+) 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