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 Tony Hutter
parent 5986c5c687
commit b8bd3ec2af

View File

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