]> git.proxmox.com Git - mirror_zfs.git/blob - scripts/common.sh.in
Merge branch 'zfsonlinux/merge-spl'
[mirror_zfs.git] / scripts / common.sh.in
1 #!/bin/sh
2
3 # Directories
4 export BIN_DIR=
5 export SBIN_DIR=
6 export ZTS_DIR=
7 export SCRIPT_DIR=
8
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}
15
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 STF_TOOLS=${STF_TOOLS:-$ZTS_DIR/test-runner}
20 export STF_SUITE=${STF_SUITE:-$ZTS_DIR/zfs-tests}