Exclude python scripts from RPM shebang check
[zfs.git] / scripts / common.sh.in
blob134c9cbfd03ece0dd66fd60020881ae9ade1ec6b
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 STF_TOOLS=${STF_TOOLS:-$ZTS_DIR/test-runner}
20 export STF_SUITE=${STF_SUITE:-$ZTS_DIR/zfs-tests}