]> git.proxmox.com Git - mirror_zfs.git/blame - scripts/common.sh.in
Replace ZoL with OpenZFS where applicable
[mirror_zfs.git] / scripts / common.sh.in
CommitLineData
c8f9061f
BB
1#!/bin/sh
2
3# Directories
4export BIN_DIR=
5export SBIN_DIR=
52c85375 6export LIBEXEC_DIR=
c8f9061f
BB
7export ZTS_DIR=
8export SCRIPT_DIR=
9
10# General commands
11export ZDB=${ZDB:-$SBIN_DIR/zdb}
12export ZFS=${ZFS:-$SBIN_DIR/zfs}
13export ZPOOL=${ZPOOL:-$SBIN_DIR/zpool}
14export ZTEST=${ZTEST:-$SBIN_DIR/ztest}
15export ZFS_SH=${ZFS_SH:-$SCRIPT_DIR/zfs.sh}
16
17# Test Suite
18export RUNFILE_DIR=${RUNFILE_DIR:-$ZTS_DIR/runfiles}
19export TEST_RUNNER=${TEST_RUNNER:-$ZTS_DIR/test-runner/bin/test-runner.py}
e4a3297a 20export ZTS_REPORT=${ZTS_REPORT:-$ZTS_DIR/test-runner/bin/zts-report.py}
c8f9061f
BB
21export STF_TOOLS=${STF_TOOLS:-$ZTS_DIR/test-runner}
22export STF_SUITE=${STF_SUITE:-$ZTS_DIR/zfs-tests}