Make zfs test easier to run in local install

When ZFS is installed by 'make install', programs will be installed
into '/usr/local'. ZFS test scripts can't locate programs 'zpool'
that caused tests failure.

Fix typo in help message.

Add sanity check to for ksh and generate a useful error message.

Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4495
This commit is contained in:
Jinshan Xiong
2016-04-06 09:48:10 -07:00
committed by Brian Behlendorf
parent 2b54cb1451
commit e612379614
3 changed files with 23 additions and 22 deletions
-7
View File
@@ -31,13 +31,6 @@
. ${STF_TOOLS}/include/logapi.shlib
ZDB=${ZDB:-/sbin/zdb}
ZFS=${ZFS:-/sbin/zfs}
ZINJECT=${ZINJECT:-/sbin/zinject}
ZHACK=${ZHACK:-/sbin/zhack}
ZPOOL=${ZPOOL:-/sbin/zpool}
ZTEST=${ZTEST:-/sbin/ztest}
# Determine if this is a Linux test system
#
# Return 0 if platform Linux, 1 if otherwise