config/dracut/90zfs: handle cases where hostid(1) returns all zeros
[zfs.git] / scripts / common.sh.in
blob2d9d9c7866222f6a5286e0f404cba74d7b4df742
1 #!/bin/sh
3 # Directories
4 export BIN_DIR=
5 export SBIN_DIR=
6 export ZTS_DIR=
7 export SCRIPT_DIR=
9 # General commands
10 export ZDB=${ZDB:-$SBIN_DIR/zdb}
11 export ZFS=${ZFS:-$SBIN_DIR/zfs}
12 export ZPOOL=${ZPOOL:-$SBIN_DIR/zpool}
13 export ZTEST=${ZTEST:-$SBIN_DIR/ztest}
14 export ZFS_SH=${ZFS_SH:-$SCRIPT_DIR/zfs.sh}
16 # Test Suite
17 export RUNFILE_DIR=${RUNFILE_DIR:-$ZTS_DIR/runfiles}
18 export TEST_RUNNER=${TEST_RUNNER:-$ZTS_DIR/test-runner/bin/test-runner.py}
19 export ZTS_REPORT=${ZTS_REPORT:-$ZTS_DIR/test-runner/bin/zts-report.py}
20 export STF_TOOLS=${STF_TOOLS:-$ZTS_DIR/test-runner}
21 export STF_SUITE=${STF_SUITE:-$ZTS_DIR/zfs-tests}