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 <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #9325
This commit is contained in:
loli10K 2019-09-16 19:44:51 +02:00 committed by Brian Behlendorf
parent 637f0c6019
commit 7e15647ce9

View File

@ -96,6 +96,7 @@ export SYSTEM_FILES='arp
ps
pwd
python
python2
python3
quotaon
readlink