ZAP: Add by_dnode variants to lookup/prefetch_uint64
[zfs.git] / scripts / common.sh.in
blob33669457f41557adec320307f9c7b446778616f7
1 #!/bin/sh
3 # Directories
4 export BIN_DIR=
5 export SBIN_DIR=
6 export LIBEXEC_DIR=
7 export ZTS_DIR=
8 export SCRIPT_DIR=
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}"
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}"