]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ZTS: Reverse constrained path lookup order
authorRyan Moeller <ryan@iXsystems.com>
Wed, 29 Jan 2020 19:23:20 +0000 (14:23 -0500)
committerGitHub <noreply@github.com>
Wed, 29 Jan 2020 19:23:20 +0000 (11:23 -0800)
commit74b4d349b3740cf654f762e4afe1e51afc9febb8
tree9987c164e77a18b28617bd40119244de8e5e8cc8
parent0ecd9109238f1e322b9a3a44781277b7b7ce5c38
ZTS: Reverse constrained path lookup order

FreeBSD base system zfs utils are in /sbin. ZoF utils install to
/usr/local/sbin.

Ensure we link to the ZoF utils not the base utils when searching for
utils to constrain paths to for the tests.

Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #9906
scripts/zfs-tests.sh