]> git.proxmox.com Git - mirror_zfs.git/blob - scripts/common.sh.in
cstyle: Allow URLs in C++ comments
[mirror_zfs.git] / scripts / common.sh.in
1 #!/bin/sh
2
3 # Directories
4 export BIN_DIR=
5 export SBIN_DIR=
6 export LIBEXEC_DIR=
7 export ZTS_DIR=
8 export SCRIPT_DIR=
9
10 # General commands
11 export ZDB=${ZDB:-$SBIN_DIR/zdb}
12 export ZFS=${ZFS:-$SBIN_DIR/zfs}
13 export ZPOOL=${ZPOOL:-$SBIN_DIR/zpool}
14 export ZTEST=${ZTEST:-$SBIN_DIR/ztest}
15 export ZFS_SH=${ZFS_SH:-$SCRIPT_DIR/zfs.sh}
16
17 # Test Suite
18 export RUNFILE_DIR=${RUNFILE_DIR:-$ZTS_DIR/runfiles}
19 export TEST_RUNNER=${TEST_RUNNER:-$ZTS_DIR/test-runner/bin/test-runner.py}
20 export ZTS_REPORT=${ZTS_REPORT:-$ZTS_DIR/test-runner/bin/zts-report.py}
21 export STF_TOOLS=${STF_TOOLS:-$ZTS_DIR/test-runner}
22 export STF_SUITE=${STF_SUITE:-$ZTS_DIR/zfs-tests}