]> granicus.if.org Git - zfs/commitdiff
ZTS: Fix /usr/bin/env: 'python2': No such file or directory
authorloli10K <loli10K@users.noreply.github.com>
Mon, 16 Sep 2019 17:44:51 +0000 (19:44 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 16 Sep 2019 17:44:51 +0000 (10:44 -0700)
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 <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #9325

tests/zfs-tests/include/commands.cfg

index f8ad022468b143d7b4f8af65c4563500d4a7a0bf..52758a1aa1b2ca792e6bf070def865dc15098610 100644 (file)
@@ -96,6 +96,7 @@ export SYSTEM_FILES='arp
     ps
     pwd
     python
+    python2
     python3
     quotaon
     readlink